diff options
Diffstat (limited to 'arch/um/include/os.h')
-rw-r--r-- | arch/um/include/os.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index e11bdcd8afc2..688d181b5f8a 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -300,13 +300,12 @@ extern long syscall_stub_data(struct mm_id * mm_idp, | |||
300 | unsigned long *data, int data_count, | 300 | unsigned long *data, int data_count, |
301 | void **addr, void **stub_addr); | 301 | void **addr, void **stub_addr); |
302 | extern int map(struct mm_id * mm_idp, unsigned long virt, | 302 | extern int map(struct mm_id * mm_idp, unsigned long virt, |
303 | unsigned long len, int r, int w, int x, int phys_fd, | 303 | unsigned long len, int prot, int phys_fd, |
304 | unsigned long long offset, int done, void **data); | 304 | unsigned long long offset, int done, void **data); |
305 | extern int unmap(struct mm_id * mm_idp, unsigned long addr, unsigned long len, | 305 | extern int unmap(struct mm_id * mm_idp, unsigned long addr, unsigned long len, |
306 | int done, void **data); | 306 | int done, void **data); |
307 | extern int protect(struct mm_id * mm_idp, unsigned long addr, | 307 | extern int protect(struct mm_id * mm_idp, unsigned long addr, |
308 | unsigned long len, int r, int w, int x, int done, | 308 | unsigned long len, unsigned int prot, int done, void **data); |
309 | void **data); | ||
310 | 309 | ||
311 | /* skas/process.c */ | 310 | /* skas/process.c */ |
312 | extern int is_skas_winch(int pid, int fd, void *data); | 311 | extern int is_skas_winch(int pid, int fd, void *data); |
@@ -342,7 +341,6 @@ extern void maybe_sigio_broken(int fd, int read); | |||
342 | 341 | ||
343 | /* skas/trap */ | 342 | /* skas/trap */ |
344 | extern void sig_handler_common_skas(int sig, void *sc_ptr); | 343 | extern void sig_handler_common_skas(int sig, void *sc_ptr); |
345 | extern void user_signal(int sig, union uml_pt_regs *regs, int pid); | ||
346 | 344 | ||
347 | /* sys-x86_64/prctl.c */ | 345 | /* sys-x86_64/prctl.c */ |
348 | extern int os_arch_prctl(int pid, int code, unsigned long *addr); | 346 | extern int os_arch_prctl(int pid, int code, unsigned long *addr); |