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>
This commit is contained in:
committed by
Linus Torvalds
parent
6e21aec3fc
commit
1ffb9164f5
@@ -52,7 +52,6 @@ extern void set_tracing(void *t, int tracing);
|
||||
extern int is_tracing(void *task);
|
||||
extern int segv_syscall(void);
|
||||
extern void kern_finish_exec(void *task, int new_pid, unsigned long stack);
|
||||
extern int page_size(void);
|
||||
extern unsigned long page_mask(void);
|
||||
extern int need_finish_fork(void);
|
||||
extern void free_stack(unsigned long stack, int order);
|
||||
|
Reference in New Issue
Block a user