From ff64b4c18624ca545dd360c4fa65334d19ee7b6f Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 18 Aug 2008 04:01:47 -0400 Subject: x86, um: get rid of uml unistd.h Signed-off-by: Al Viro Signed-off-by: H. Peter Anvin --- arch/um/kernel/exec.c | 1 + arch/um/kernel/internal.h | 1 + arch/um/kernel/syscall.c | 1 + 3 files changed, 3 insertions(+) create mode 100644 arch/um/kernel/internal.h (limited to 'arch/um/kernel') diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 598711c62c8..fda30d21fb9 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c @@ -15,6 +15,7 @@ #include "mem_user.h" #include "skas.h" #include "os.h" +#include "internal.h" void flush_thread(void) { diff --git a/arch/um/kernel/internal.h b/arch/um/kernel/internal.h new file mode 100644 index 00000000000..3bda43c7a78 --- /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 128ee85bc8d..c4df705b835 100644 --- a/arch/um/kernel/syscall.c +++ b/arch/um/kernel/syscall.c @@ -12,6 +12,7 @@ #include "asm/mman.h" #include "asm/uaccess.h" #include "asm/unistd.h" +#include "internal.h" long sys_fork(void) { -- cgit v1.2.3-70-g09d2