]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita67bd23054c168c04182703959bd1eac38766504
tree388afebb932bbb1ffa8f18f979286bb1f580e8fe
parent3fb5e40d11aacb853b61d450dad9651aef613f01
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