[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170927232415.GB5939@codeaurora.org>
Date: Wed, 27 Sep 2017 18:24:15 -0500
From: Richard Kuo <rkuo@...eaurora.org>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: linux-hexagon@...r.kernel.org, linux-kbuild@...r.kernel.org,
Michal Marek <mmarek@...e.com>,
Sam Ravnborg <sam@...nborg.org>,
Oleg Nesterov <oleg@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hexagon: get rid of #include <generated/compile.h>
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@...ionext.com>
> ---
>
> arch/hexagon/kernel/ptrace.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Acked-by: Richard Kuo <rkuo@...eaurora.org>
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists