From: David Woodhouse Date: Wed, 13 Sep 2006 03:36:06 +0000 (-0700) Subject: [PATCH] headers_check: fix userspace build of asm-mips/page.h X-Git-Tag: v2.6.18~13^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2aa3e2304e21e2b8bf52b69ac9f1e0cb0320909;p=pandora-kernel.git [PATCH] headers_check: fix userspace build of asm-mips/page.h MIPS asm/page.h unconditionally includes , 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 Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed