diff options
Diffstat (limited to 'arch/um/sys-i386/stub_segv.c')
-rw-r--r-- | arch/um/sys-i386/stub_segv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/sys-i386/stub_segv.c b/arch/um/sys-i386/stub_segv.c index 2355dc19c46c..b3999cb76bfd 100644 --- a/arch/um/sys-i386/stub_segv.c +++ b/arch/um/sys-i386/stub_segv.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <signal.h> | 6 | #include <signal.h> |
7 | #include <sys/select.h> /* The only way I can see to get sigset_t */ | 7 | #include <sys/select.h> /* The only way I can see to get sigset_t */ |
8 | #include <asm/unistd.h> | 8 | #include <asm/unistd.h> |
9 | #include "as-layout.h" | ||
9 | #include "uml-config.h" | 10 | #include "uml-config.h" |
10 | #include "sysdep/stub.h" | 11 | #include "sysdep/stub.h" |
11 | #include "sysdep/sigcontext.h" | 12 | #include "sysdep/sigcontext.h" |
@@ -17,8 +18,7 @@ stub_segv_handler(int sig) | |||
17 | struct sigcontext *sc = (struct sigcontext *) (&sig + 1); | 18 | struct sigcontext *sc = (struct sigcontext *) (&sig + 1); |
18 | int pid; | 19 | int pid; |
19 | 20 | ||
20 | GET_FAULTINFO_FROM_SC(*((struct faultinfo *) UML_CONFIG_STUB_DATA), | 21 | GET_FAULTINFO_FROM_SC(*((struct faultinfo *) STUB_DATA), sc); |
21 | sc); | ||
22 | 22 | ||
23 | pid = stub_syscall0(__NR_getpid); | 23 | pid = stub_syscall0(__NR_getpid); |
24 | stub_syscall2(__NR_kill, pid, SIGUSR1); | 24 | stub_syscall2(__NR_kill, pid, SIGUSR1); |