diff options
Diffstat (limited to 'arch/um/kernel/skas/clone.c')
-rw-r--r-- | arch/um/kernel/skas/clone.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/kernel/skas/clone.c b/arch/um/kernel/skas/clone.c index 47b812b3bca8..d119f4f7d897 100644 --- a/arch/um/kernel/skas/clone.c +++ b/arch/um/kernel/skas/clone.c | |||
@@ -4,6 +4,7 @@ | |||
4 | #include <sys/time.h> | 4 | #include <sys/time.h> |
5 | #include <asm/unistd.h> | 5 | #include <asm/unistd.h> |
6 | #include <asm/page.h> | 6 | #include <asm/page.h> |
7 | #include "as-layout.h" | ||
7 | #include "ptrace_user.h" | 8 | #include "ptrace_user.h" |
8 | #include "skas.h" | 9 | #include "skas.h" |
9 | #include "stub-data.h" | 10 | #include "stub-data.h" |
@@ -21,12 +22,11 @@ | |||
21 | void __attribute__ ((__section__ (".__syscall_stub"))) | 22 | void __attribute__ ((__section__ (".__syscall_stub"))) |
22 | stub_clone_handler(void) | 23 | stub_clone_handler(void) |
23 | { | 24 | { |
24 | struct stub_data *data = (struct stub_data *) UML_CONFIG_STUB_DATA; | 25 | struct stub_data *data = (struct stub_data *) STUB_DATA; |
25 | long err; | 26 | long err; |
26 | 27 | ||
27 | err = stub_syscall2(__NR_clone, CLONE_PARENT | CLONE_FILES | SIGCHLD, | 28 | err = stub_syscall2(__NR_clone, CLONE_PARENT | CLONE_FILES | SIGCHLD, |
28 | UML_CONFIG_STUB_DATA + UM_KERN_PAGE_SIZE / 2 - | 29 | STUB_DATA + UM_KERN_PAGE_SIZE / 2 - sizeof(void *)); |
29 | sizeof(void *)); | ||
30 | if(err != 0) | 30 | if(err != 0) |
31 | goto out; | 31 | goto out; |
32 | 32 | ||