diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-18 04:01:47 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 01:55:21 -0400 |
commit | ff64b4c18624ca545dd360c4fa65334d19ee7b6f (patch) | |
tree | 3246f0d97bb73e16337985b7a5525b23ee7ada4b /arch/um/kernel | |
parent | 6a0eec8224db1191876770f7cac31f2a2637a6f5 (diff) |
x86, um: get rid of uml unistd.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/exec.c | 1 | ||||
-rw-r--r-- | arch/um/kernel/internal.h | 1 | ||||
-rw-r--r-- | arch/um/kernel/syscall.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 598711c62c82..fda30d21fb90 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include "mem_user.h" | 15 | #include "mem_user.h" |
16 | #include "skas.h" | 16 | #include "skas.h" |
17 | #include "os.h" | 17 | #include "os.h" |
18 | #include "internal.h" | ||
18 | 19 | ||
19 | void flush_thread(void) | 20 | void flush_thread(void) |
20 | { | 21 | { |
diff --git a/arch/um/kernel/internal.h b/arch/um/kernel/internal.h new file mode 100644 index 000000000000..3bda43c7a786 --- /dev/null +++ b/arch/um/kernel/internal.h | |||
@@ -0,0 +1 @@ | |||
extern long um_execve(char *file, char __user *__user *argv, char __user *__user *env); | |||
diff --git a/arch/um/kernel/syscall.c b/arch/um/kernel/syscall.c index 128ee85bc8d9..c4df705b8359 100644 --- a/arch/um/kernel/syscall.c +++ b/arch/um/kernel/syscall.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include "asm/mman.h" | 12 | #include "asm/mman.h" |
13 | #include "asm/uaccess.h" | 13 | #include "asm/uaccess.h" |
14 | #include "asm/unistd.h" | 14 | #include "asm/unistd.h" |
15 | #include "internal.h" | ||
15 | 16 | ||
16 | long sys_fork(void) | 17 | long sys_fork(void) |
17 | { | 18 | { |