kernel_optimize_test/arch/um
Jeff Dike c539ab7307 uml: remove PAGE_SIZE from libc code
Distros seem to be removing PAGE_SIZE from asm/page.h.  So, the libc side of
UML should stop using it.

I replace it with UM_KERN_PAGE_SIZE, which is defined to be the same as
PAGE_SIZE on the kernel side of the house.  I could also use getpagesize(),
but it's more important that UML have the same value of PAGE_SIZE everywhere.
It's conceivable that it could be built with a larger PAGE_SIZE, and use of
getpagesize() would break that badly.

PAGE_MASK got the same treatment, as it is closely tied to PAGE_SIZE.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-16 13:16:16 -07:00
..
drivers uml: get declaration of simple_strtoul 2007-06-08 17:23:33 -07:00
include uml: remove PAGE_SIZE from libc code 2007-06-16 13:16:16 -07:00
kernel uml: get declaration of simple_strtoul 2007-06-08 17:23:33 -07:00
os-Linux uml: remove PAGE_SIZE from libc code 2007-06-16 13:16:16 -07:00
scripts [PATCH] (uml) sparse flags for userland glue are missing $(CF) 2007-03-14 15:27:48 -07:00
sys-i386 uml: more page fault path trimming 2007-05-07 12:13:04 -07:00
sys-ia64
sys-ppc uml: remove user_util.h 2007-05-07 12:13:01 -07:00
sys-x86_64 fix uml-x86_64 2007-05-15 18:56:37 -07:00
config.release
defconfig uml: shrink kernel stacks 2007-05-11 08:29:34 -07:00
Kconfig uml: fix kernel stack size on x86_64 2007-06-08 17:23:33 -07:00
Kconfig.char [PATCH] uml: enable RAW 2007-03-01 14:53:38 -08:00
Kconfig.debug [PATCH] uml: remove syscall debugging 2006-07-10 13:24:24 -07:00
Kconfig.i386 [PATCH] fix indentation-related breakage in Kconfig.i386 2007-01-30 08:39:21 -08:00
Kconfig.net
Kconfig.x86_64 [PATCH] um: fix undefined reference to hweight32 2006-03-26 08:57:09 -08:00
Makefile [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-i386 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
Makefile-tt
Makefile-x86_64 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00