diff options
author | Jeff Dike <jdike@addtoit.com> | 2005-11-07 03:58:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:31 -0500 |
commit | ff5c6ff54215fe284e515032878111de5d8a5ce1 (patch) | |
tree | ecf5e2eaacc9f45f5227b50d8bfaaf82e15b9647 /arch/um/include/os.h | |
parent | 52c653b3bed323df9006c06cdfb4548ec44b3109 (diff) |
[PATCH] uml: separate libc-dependent helper code
The serial UML OS-abstraction layer patch (um/kernel dir).
This moves all systemcalls from helper.c file under os-Linux dir
Signed-off-by: Gennady Sharapov <Gennady.V.Sharapov@intel.com>
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/include/os.h')
-rw-r--r-- | arch/um/include/os.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 | /* |