]> err.no Git - linux-2.6/commit
uml: remove page_size()
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:22 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:02 +0000 (12:13 -0700)
commit1ffb9164f51094b7105ce9f81600b222ddf5b82c
treeb2efe2af99a2827692a7541058eaef9e938f1da6
parent6e21aec3fcf6c8862b755d45c0af45acdefff976
uml: remove page_size()

userspace code used to have to call the kernelspace function page_size() in
order to determine the value of the kernel's PAGE_SIZE.  Since this is now
available directly from kern_constants.h as UM_KERN_PAGE_SIZE, page_size() can
be deleted and calls changed to use the constant.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/net_user.c
arch/um/drivers/slip_user.c
arch/um/include/kern_util.h
arch/um/kernel/process.c
arch/um/os-Linux/drivers/ethertap_user.c
arch/um/os-Linux/helper.c
arch/um/os-Linux/process.c
arch/um/os-Linux/skas/process.c
arch/um/os-Linux/tt.c
arch/um/os-Linux/util.c