diff options
Diffstat (limited to 'arch/ia64/ia32')
-rw-r--r-- | arch/ia64/ia32/ia32_support.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/ia64/ia32/ia32_support.c b/arch/ia64/ia32/ia32_support.c index d1d50cd1c38a..896b1ebbfb26 100644 --- a/arch/ia64/ia32/ia32_support.c +++ b/arch/ia64/ia32/ia32_support.c | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | #include "ia32priv.h" | 28 | #include "ia32priv.h" |
29 | 29 | ||
30 | extern void die_if_kernel (char *str, struct pt_regs *regs, long err); | 30 | extern int die_if_kernel (char *str, struct pt_regs *regs, long err); |
31 | 31 | ||
32 | struct exec_domain ia32_exec_domain; | 32 | struct exec_domain ia32_exec_domain; |
33 | struct page *ia32_shared_page[NR_CPUS]; | 33 | struct page *ia32_shared_page[NR_CPUS]; |
@@ -217,7 +217,8 @@ ia32_bad_interrupt (unsigned long int_num, struct pt_regs *regs) | |||
217 | { | 217 | { |
218 | siginfo_t siginfo; | 218 | siginfo_t siginfo; |
219 | 219 | ||
220 | die_if_kernel("Bad IA-32 interrupt", regs, int_num); | 220 | if (die_if_kernel("Bad IA-32 interrupt", regs, int_num)) |
221 | return; | ||
221 | 222 | ||
222 | siginfo.si_signo = SIGTRAP; | 223 | siginfo.si_signo = SIGTRAP; |
223 | siginfo.si_errno = int_num; /* XXX is it OK to abuse si_errno like this? */ | 224 | siginfo.si_errno = int_num; /* XXX is it OK to abuse si_errno like this? */ |