Re: [PATCH] hexagon: get rid of #include <generated/compile.h>
From: Masahiro Yamada
Date: Mon Oct 09 2017 - 10:26:20 EST
2017-10-03 10:26 GMT+09:00 Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>:
> Hi Richard,
>
> 2017-09-28 8:24 GMT+09:00 Richard Kuo <rkuo@xxxxxxxxxxxxxx>:
>> 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@xxxxxxxxxxxxx>
>>> ---
>>>
>>> arch/hexagon/kernel/ptrace.c | 4 +---
>>> 1 file changed, 1 insertion(+), 3 deletions(-)
>>>
>>
>> Acked-by: Richard Kuo <rkuo@xxxxxxxxxxxxxx>
>>
>
> How should this patch be handled?
>
I checked
git://git.kernel.org/pub/scm/linux/kernel/git/rkuo/linux-hexagon-kernel.git
I could not see any patch applied to the tree since last year.
Assuming the tree is unmaintained, I am picking this patch to Kbuild tree.
Applied to linux-kbuild/kbuild with Rechard's Acked.
--
Best Regards
Masahiro Yamada