diff options
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/os.h | 6 | ||||
-rw-r--r-- | arch/um/include/uml_uaccess.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index 2e58e304b8be..b9f53519bbe6 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -199,6 +199,12 @@ extern void forward_pending_sigio(int target); | |||
199 | extern int start_fork_tramp(void *arg, unsigned long temp_stack, | 199 | extern int start_fork_tramp(void *arg, unsigned long temp_stack, |
200 | int clone_flags, int (*tramp)(void *)); | 200 | int clone_flags, int (*tramp)(void *)); |
201 | 201 | ||
202 | /* uaccess.c */ | ||
203 | extern unsigned long __do_user_copy(void *to, const void *from, int n, | ||
204 | void **fault_addr, void **fault_catcher, | ||
205 | void (*op)(void *to, const void *from, | ||
206 | int n), int *faulted_out); | ||
207 | |||
202 | #endif | 208 | #endif |
203 | 209 | ||
204 | /* | 210 | /* |
diff --git a/arch/um/include/uml_uaccess.h b/arch/um/include/uml_uaccess.h index f77eb6428453..c0df11d06f5e 100644 --- a/arch/um/include/uml_uaccess.h +++ b/arch/um/include/uml_uaccess.h | |||
@@ -8,10 +8,6 @@ | |||
8 | 8 | ||
9 | extern int __do_copy_to_user(void *to, const void *from, int n, | 9 | extern int __do_copy_to_user(void *to, const void *from, int n, |
10 | void **fault_addr, void **fault_catcher); | 10 | void **fault_addr, void **fault_catcher); |
11 | extern unsigned long __do_user_copy(void *to, const void *from, int n, | ||
12 | void **fault_addr, void **fault_catcher, | ||
13 | void (*op)(void *to, const void *from, | ||
14 | int n), int *faulted_out); | ||
15 | void __do_copy(void *to, const void *from, int n); | 11 | void __do_copy(void *to, const void *from, int n); |
16 | 12 | ||
17 | #endif | 13 | #endif |