summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/system.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-09-12 20:36:06 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-13 07:32:16 -0700
commita2aa3e2304e21e2b8bf52b69ac9f1e0cb0320909 (patch)
tree67bf4deebf807ee939ad5f91491c2e1b312e6e62 /include/asm-alpha/system.h
parentf01f0f052d1255dcdcf11d4872c4bca95e46b36c (diff)
downloadtalos-op-linux-a2aa3e2304e21e2b8bf52b69ac9f1e0cb0320909.tar.gz
talos-op-linux-a2aa3e2304e21e2b8bf52b69ac9f1e0cb0320909.zip
[PATCH] headers_check: fix userspace build of asm-mips/page.h
MIPS asm/page.h unconditionally includes <asm-generic/memory_model.h>, which doesn't exist in userspace. Move an #endif /* __KERNEL__ */ down a few lines to prevent that. Also, remove the broken definition of PAGE_SIZE which is never going to be correct -- in the absence of PAGE_SIZE, non-broken userspace will fall back to using sysconf() or getpagesize() instead. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Cc: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-alpha/system.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud