Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1741094

Re: [PATCH] hexagon: get rid of #include <generated/compile.h>

From Richard Kuo <rkuo@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] hexagon: get rid of #include <generated/compile.h>
Date 2017-09-28 01:30 +0200
Message-ID <uutW9-17I-11@gated-at.bofh.it> (permalink)
References <urOX8-4Mq-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Sep 21, 2017 at 12:17:50AM +0900, Masahiro Yamada wrote:
> <generated/compile.h> is created (or updated) when Kbuild descends
> into the init/ directory.  In parallel building from a pristine
> source tree, there is no guarantee <generated/compile.h> exists when
> arch/hexagon/kernel/ptrace.c is compiled.
> 
> For hexagon architecture, we know UTS_MACHINE is a fixed string
> "hexagon", so let's hard-code it, like many architectures do.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>  arch/hexagon/kernel/ptrace.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 

Acked-by: Richard Kuo <rkuo@codeaurora.org>


-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, 
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] hexagon: get rid of #include <generated/compile.h> Richard Kuo <rkuo@codeaurora.org> - 2017-09-28 01:30 +0200

csiph-web