aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/Kbuild
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-16 12:15:49 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-16 12:54:32 -0700
commit7f9d77d75895c0d7e326d75263af21d7e2759879 (patch)
tree3b07576e26cd9e0a4ac19c3e98b6e979481cf1c5 /include/asm-alpha/Kbuild
parent75da736fb3dc5cc8add98da0d02fe5103d7ce059 (diff)
downloadkernel_samsung_smdk4412-7f9d77d75895c0d7e326d75263af21d7e2759879.zip
kernel_samsung_smdk4412-7f9d77d75895c0d7e326d75263af21d7e2759879.tar.gz
kernel_samsung_smdk4412-7f9d77d75895c0d7e326d75263af21d7e2759879.tar.bz2
[PATCH] Fix 'make headers_check' for Alpha
Alpha currently fails 'make headers_check' in the 2.6.18-rc kernels. This patch fixes it, by moving the existing #ifdef __KERNEL__ in asm/page.h so that it covers everything that userspace shouldn't so, and by adding asm/compiler.h to the list of exported files so that its use within asm/byteorder.h is successful. [ Note that at least with GCC 4, <linux/compiler.h> doesn't do the forced inlining about which there are nasty comments (and a workaround) in <asm/compiler.h>, unless you set CONFIG_FORCED_INLINING. Rather than keep the mess you have in <asm/compiler.h> you could perhaps just make sure CONFIG_FORCED_INLINING=n is also honoured with GCC3, and make sure it cannot be set for Alpha? ] Signed-off-by: David Woodhouse <dwmw2@infradead.org> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-alpha/Kbuild')
-rw-r--r--include/asm-alpha/Kbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-alpha/Kbuild b/include/asm-alpha/Kbuild
index e57fd57..2b06b3b 100644
--- a/include/asm-alpha/Kbuild
+++ b/include/asm-alpha/Kbuild
@@ -1,5 +1,5 @@
include include/asm-generic/Kbuild.asm
-unifdef-y += console.h fpu.h sysinfo.h
+unifdef-y += console.h fpu.h sysinfo.h compiler.h
header-y += gentrap.h regdef.h pal.h reg.h