]> err.no Git - linux-2.6/commit
[PATCH] uml: eliminate use of libc PAGE_SIZE
authorJeff Dike <jdike@addtoit.com>
Tue, 22 Nov 2005 05:32:10 +0000 (21:32 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 22 Nov 2005 17:13:41 +0000 (09:13 -0800)
commitaa1a64ee12ae130706f3fc0007841ce9b0ddf9c2
treeaa4dcbb8d1870209ae69dc85f241b8c1592ee4c1
parent17d469715c6453e4994e6617e8f644bf10f38584
[PATCH] uml: eliminate use of libc PAGE_SIZE

On some systems, libc PAGE_SIZE calls getpagesize, which can't happen from a
stub.  So, I use UM_KERN_PAGE_SIZE, which is less variable in its definition,
instead.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/skas/clone.c