diff options
Diffstat (limited to 'arch/um/include/os.h')
| -rw-r--r-- | arch/um/include/os.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index 2e58e304b8be..2cccfa5b8ab5 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
| @@ -167,7 +167,7 @@ extern int can_do_skas(void); | |||
| 167 | #endif | 167 | #endif |
| 168 | 168 | ||
| 169 | /* mem.c */ | 169 | /* mem.c */ |
| 170 | extern int create_mem_file(unsigned long len); | 170 | extern int create_mem_file(unsigned long long len); |
| 171 | 171 | ||
| 172 | /* process.c */ | 172 | /* process.c */ |
| 173 | extern unsigned long os_process_pc(int pid); | 173 | extern unsigned long os_process_pc(int pid); |
| @@ -199,6 +199,20 @@ 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 | |||
| 208 | /* helper.c */ | ||
| 209 | extern int run_helper(void (*pre_exec)(void *), void *pre_data, char **argv, | ||
| 210 | unsigned long *stack_out); | ||
| 211 | extern int run_helper_thread(int (*proc)(void *), void *arg, | ||
| 212 | unsigned int flags, unsigned long *stack_out, | ||
| 213 | int stack_order); | ||
| 214 | extern int helper_wait(int pid); | ||
| 215 | |||
| 202 | #endif | 216 | #endif |
| 203 | 217 | ||
| 204 | /* | 218 | /* |
