diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:03:29 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:14:52 -0400 |
commit | 5d40de0f6e726dc9c48fb35815e0a6153e59e1dc (patch) | |
tree | 0a746d283d83d824eb88cbe19783d2939bd6e5ab /arch/um/include | |
parent | 6582b7f7743da6ce3e3714e9e8b18e0e073d4acd (diff) |
um: kill dead code around uaccess
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/shared/os.h | 6 | ||||
-rw-r--r-- | arch/um/include/shared/um_uaccess.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h index 83c7c2ecd614..2e2663a8e910 100644 --- a/arch/um/include/shared/os.h +++ b/arch/um/include/shared/os.h | |||
@@ -203,12 +203,6 @@ extern int os_drop_memory(void *addr, int length); | |||
203 | extern int can_drop_memory(void); | 203 | extern int can_drop_memory(void); |
204 | extern void os_flush_stdout(void); | 204 | extern void os_flush_stdout(void); |
205 | 205 | ||
206 | /* uaccess.c */ | ||
207 | extern unsigned long __do_user_copy(void *to, const void *from, int n, | ||
208 | void **fault_addr, jmp_buf **fault_catcher, | ||
209 | void (*op)(void *to, const void *from, | ||
210 | int n), int *faulted_out); | ||
211 | |||
212 | /* execvp.c */ | 206 | /* execvp.c */ |
213 | extern int execvp_noalloc(char *buf, const char *file, char *const argv[]); | 207 | extern int execvp_noalloc(char *buf, const char *file, char *const argv[]); |
214 | /* helper.c */ | 208 | /* helper.c */ |
diff --git a/arch/um/include/shared/um_uaccess.h b/arch/um/include/shared/um_uaccess.h index 45c04999d670..51e1cce92d36 100644 --- a/arch/um/include/shared/um_uaccess.h +++ b/arch/um/include/shared/um_uaccess.h | |||
@@ -32,9 +32,6 @@ | |||
32 | extern int copy_from_user(void *to, const void __user *from, int n); | 32 | extern int copy_from_user(void *to, const void __user *from, int n); |
33 | extern int copy_to_user(void __user *to, const void *from, int n); | 33 | extern int copy_to_user(void __user *to, const void *from, int n); |
34 | 34 | ||
35 | extern int __do_copy_to_user(void *to, const void *from, int n, | ||
36 | void **fault_addr, jmp_buf **fault_catcher); | ||
37 | |||
38 | /* | 35 | /* |
39 | * strncpy_from_user: - Copy a NUL terminated string from userspace. | 36 | * strncpy_from_user: - Copy a NUL terminated string from userspace. |
40 | * @dst: Destination address, in kernel space. This buffer must be at | 37 | * @dst: Destination address, in kernel space. This buffer must be at |