diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2008-07-24 06:28:49 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 19:47:24 +0200 |
commit | 99764fa4ceeecba8b9e0a8a5565b418a2e94f83b (patch) | |
tree | aecf842728e5dfc80743662d87c089b24896f8ed /arch/um/include/um_uaccess.h | |
parent | arch/um/kernel/mem.c: remove arch_validate() (diff) | |
download | linux-99764fa4ceeecba8b9e0a8a5565b418a2e94f83b.tar.xz linux-99764fa4ceeecba8b9e0a8a5565b418a2e94f83b.zip |
UML: make several more things static
- Make some variables and functions static, since they don't need to be
global.
- Remove an unused function - arch/um/kernel/time.c::sched_clock().
- Clean the style a bit as complained by checkpatch.pl.
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include/um_uaccess.h')
-rw-r--r-- | arch/um/include/um_uaccess.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/um_uaccess.h b/arch/um/include/um_uaccess.h index 2b6fc8e0f071..45c04999d670 100644 --- a/arch/um/include/um_uaccess.h +++ b/arch/um/include/um_uaccess.h @@ -34,7 +34,6 @@ extern int copy_to_user(void __user *to, const void *from, int n); extern int __do_copy_to_user(void *to, const void *from, int n, void **fault_addr, jmp_buf **fault_catcher); -extern void __do_copy(void *to, const void *from, int n); /* * strncpy_from_user: - Copy a NUL terminated string from userspace. |