diff options
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/helper.h | 27 | ||||
-rw-r--r-- | arch/um/include/os.h | 8 |
2 files changed, 8 insertions, 27 deletions
diff --git a/arch/um/include/helper.h b/arch/um/include/helper.h deleted file mode 100644 index 162ac31192fd..000000000000 --- a/arch/um/include/helper.h +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | ||
3 | * Licensed under the GPL | ||
4 | */ | ||
5 | |||
6 | #ifndef __HELPER_H__ | ||
7 | #define __HELPER_H__ | ||
8 | |||
9 | extern int run_helper(void (*pre_exec)(void *), void *pre_data, char **argv, | ||
10 | unsigned long *stack_out); | ||
11 | extern int run_helper_thread(int (*proc)(void *), void *arg, | ||
12 | unsigned int flags, unsigned long *stack_out, | ||
13 | int stack_order); | ||
14 | extern int helper_wait(int pid); | ||
15 | |||
16 | #endif | ||
17 | |||
18 | /* | ||
19 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
20 | * Emacs will notice this stuff at the end of the file and automatically | ||
21 | * adjust the settings for this buffer only. This must remain at the end | ||
22 | * of the file. | ||
23 | * --------------------------------------------------------------------------- | ||
24 | * Local variables: | ||
25 | * c-file-style: "linux" | ||
26 | * End: | ||
27 | */ | ||
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index b9f53519bbe6..112d7288f0cf 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -205,6 +205,14 @@ extern unsigned long __do_user_copy(void *to, const void *from, int n, | |||
205 | void (*op)(void *to, const void *from, | 205 | void (*op)(void *to, const void *from, |
206 | int n), int *faulted_out); | 206 | int n), int *faulted_out); |
207 | 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 | |||
208 | #endif | 216 | #endif |
209 | 217 | ||
210 | /* | 218 | /* |