Revert "MIPS: boot: Define __ASSEMBLY__ for its.S build"
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 16 Apr 2018 14:47:41 +0000 (23:47 +0900)
committerPaul Burton <paul.burton@mips.com>
Sun, 24 Jun 2018 16:27:27 +0000 (09:27 -0700)
commit902b923da619b79e311fd456f78c24619d03131b
tree39ce6d2c7ea85238c40ce5a4c3f0fa1719346918
parent7896de7bd727c9269b7571cfa8dcbc9b99dfb13c
Revert "MIPS: boot: Define __ASSEMBLY__ for its.S build"

This reverts commit 0f9da844d87796ac31b04e81ee95e155e9043132.

It is true that commit 0f9da844d877 ("MIPS: boot: Define __ASSEMBLY__
for its.S build") fixed the build error, but it should not have
defined __ASSEMBLY__ just for textual substitution in arbitrary data.
The file is image tree source in this case, but the purpose of using
CPP is to replace some macros.

I merged a better solution, commit a95b37e20db9 ("kbuild: get
<linux/compiler_types.h> out of <linux/kconfig.h>").  The original
fix-up is no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Patchwork: https://patchwork.linux-mips.org/patch/19096/
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: linux-kernel@vger.kernel.org
arch/mips/boot/Makefile