diff options
author | Gennady Sharapov <Gennady.V.Sharapov@intel.com> | 2006-01-08 04:01:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-08 23:13:39 -0500 |
commit | ea2ba7dc3dd3f85034e6da6abacc813d723a2ad5 (patch) | |
tree | 56f3d2a22d3ba3d91042d9a536b659b9c967dc03 /arch/um/include/os.h | |
parent | 0805d89c151b4800eade4c2f50d39c5253d7d054 (diff) |
[PATCH] uml: move libc-dependent code from trap_user.c
The serial UML OS-abstraction layer patch (um/kernel dir).
This moves all systemcalls from trap_user.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 'Blaisorblade' 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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index cfc806e4610b..dd72d66cf0ed 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -9,6 +9,8 @@ | |||
9 | #include "uml-config.h" | 9 | #include "uml-config.h" |
10 | #include "asm/types.h" | 10 | #include "asm/types.h" |
11 | #include "../os/include/file.h" | 11 | #include "../os/include/file.h" |
12 | #include "sysdep/ptrace.h" | ||
13 | #include "kern_util.h" | ||
12 | 14 | ||
13 | #define OS_TYPE_FILE 1 | 15 | #define OS_TYPE_FILE 1 |
14 | #define OS_TYPE_DIR 2 | 16 | #define OS_TYPE_DIR 2 |
@@ -229,4 +231,8 @@ extern void unblock_signals(void); | |||
229 | extern int get_signals(void); | 231 | extern int get_signals(void); |
230 | extern int set_signals(int enable); | 232 | extern int set_signals(int enable); |
231 | 233 | ||
234 | /* trap.c */ | ||
235 | extern void os_fill_handlinfo(struct kern_handlers h); | ||
236 | extern void do_longjmp(void *p, int val); | ||
237 | |||
232 | #endif | 238 | #endif |