OSDN Git Service

hexagon: get rid of #include <generated/compile.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 20 Sep 2017 15:17:50 +0000 (00:17 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 9 Oct 2017 14:28:45 +0000 (23:28 +0900)
commitf231e43333124d92a82acd19431f8104b8e48a75
tree388afebb932bbb1ffa8f18f979286bb1f580e8fe
parent9e66317d3c92ddaab330c125dfe9d06eee268aff
hexagon: get rid of #include <generated/compile.h>

<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>
Acked-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/kernel/ptrace.c