aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/os.h')
-rw-r--r--arch/um/include/os.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h
index 96f333cd560d..c704851d68b7 100644
--- a/arch/um/include/os.h
+++ b/arch/um/include/os.h
@@ -193,7 +193,7 @@ extern int os_getpid(void);
193extern int os_getpgrp(void); 193extern int os_getpgrp(void);
194 194
195extern void init_new_thread_signals(void); 195extern void init_new_thread_signals(void);
196extern int run_kernel_thread(int (*fn)(void *), void *arg, void **jmp_ptr); 196extern int run_kernel_thread(int (*fn)(void *), void *arg, jmp_buf **jmp_ptr);
197 197
198extern int os_map_memory(void *virt, int fd, unsigned long long off, 198extern int os_map_memory(void *virt, int fd, unsigned long long off,
199 unsigned long len, int r, int w, int x); 199 unsigned long len, int r, int w, int x);
@@ -206,7 +206,7 @@ extern void os_flush_stdout(void);
206 206
207/* uaccess.c */ 207/* uaccess.c */
208extern unsigned long __do_user_copy(void *to, const void *from, int n, 208extern unsigned long __do_user_copy(void *to, const void *from, int n,
209 void **fault_addr, void **fault_catcher, 209 void **fault_addr, jmp_buf **fault_catcher,
210 void (*op)(void *to, const void *from, 210 void (*op)(void *to, const void *from,
211 int n), int *faulted_out); 211 int n), int *faulted_out);
212 212
@@ -240,7 +240,6 @@ extern int set_signals(int enable);
240 240
241/* trap.c */ 241/* trap.c */
242extern void os_fill_handlinfo(struct kern_handlers h); 242extern void os_fill_handlinfo(struct kern_handlers h);
243extern void do_longjmp(void *p, int val);
244 243
245/* util.c */ 244/* util.c */
246extern void stack_protections(unsigned long address); 245extern void stack_protections(unsigned long address);