original_kernel/arch/um/include
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
..
skas
sysdep-i386
sysdep-ia64
sysdep-ppc
sysdep-x86_64 fix uml-x86_64 2007-05-15 18:56:37 -07:00
tt
aio.h
arch.h
as-layout.h
chan_kern.h
chan_user.h
choose-mode.h
common-offsets.h uml: remove PAGE_SIZE from libc code 2007-06-16 13:16:16 -07:00
elf_user.h
frame_kern.h
init.h
initrd.h
irq_kern.h
irq_user.h
kern.h
kern_util.h uml: iRQ stacks 2007-05-11 08:29:34 -07:00
line.h
longjmp.h
mconsole.h
mconsole_kern.h
mem.h
mem_kern.h
mem_user.h
misc_constants.h
mode.h
mode_kern.h
net_kern.h
net_user.h
os.h
process.h
ptrace_user.h
registers.h
sigcontext.h
sigio.h
signal_kern.h
skas_ptrace.h
skas_ptregs.h
syscall.h
sysrq.h
task.h
tempfile.h
tlb.h
ubd_user.h
um_malloc.h
um_mmu.h
um_uaccess.h
uml_uaccess.h
user.h