linux-stable-rt/arch/um/os-Linux
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
include
skas uml: remove PAGE_SIZE from libc code 2007-06-16 13:16:16 -07:00
sys-i386 uml: iRQ stacks 2007-05-11 08:29:34 -07:00
sys-x86_64 uml: iRQ stacks 2007-05-11 08:29:34 -07:00
Makefile
aio.c
elf_aux.c
execvp.c
file.c
helper.c
irq.c
main.c uml: remove PAGE_SIZE from libc code 2007-06-16 13:16:16 -07:00
mem.c
process.c
sigio.c
signal.c uml: iRQ stacks 2007-05-11 08:29:34 -07:00
start_up.c uml: remove PAGE_SIZE from libc code 2007-06-16 13:16:16 -07:00
time.c
tls.c
trap.c
tt.c
tty.c
tty_log.c
uaccess.c
umid.c
user_syms.c
util.c