diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-05-06 17:51:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:13:02 -0400 |
commit | 1ffb9164f51094b7105ce9f81600b222ddf5b82c (patch) | |
tree | b2efe2af99a2827692a7541058eaef9e938f1da6 /arch/um/include/kern_util.h | |
parent | 6e21aec3fcf6c8862b755d45c0af45acdefff976 (diff) |
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>
Diffstat (limited to 'arch/um/include/kern_util.h')
-rw-r--r-- | arch/um/include/kern_util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/kern_util.h b/arch/um/include/kern_util.h index 09810bc48e5b..ae434a9b400d 100644 --- a/arch/um/include/kern_util.h +++ b/arch/um/include/kern_util.h | |||
@@ -52,7 +52,6 @@ extern void set_tracing(void *t, int tracing); | |||
52 | extern int is_tracing(void *task); | 52 | extern int is_tracing(void *task); |
53 | extern int segv_syscall(void); | 53 | extern int segv_syscall(void); |
54 | extern void kern_finish_exec(void *task, int new_pid, unsigned long stack); | 54 | extern void kern_finish_exec(void *task, int new_pid, unsigned long stack); |
55 | extern int page_size(void); | ||
56 | extern unsigned long page_mask(void); | 55 | extern unsigned long page_mask(void); |
57 | extern int need_finish_fork(void); | 56 | extern int need_finish_fork(void); |
58 | extern void free_stack(unsigned long stack, int order); | 57 | extern void free_stack(unsigned long stack, int order); |