diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 13:24:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 13:24:52 -0500 |
commit | 21511abd0a248a3f225d3b611cfabb93124605a7 (patch) | |
tree | eb490f94322f3c76169ea7e5ec09524f275f390e /arch/ia64/mm/fault.c | |
parent | 39ce941ec15032c0efc3632b9f00a6b2365e1870 (diff) | |
parent | e1b0d4ba46b42909d11ea152a6b56ee76f062ca3 (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] make pfm_get_task work with virtual pids
[IA64] honor notify_die() returning NOTIFY_STOP
[IA64] remove dead code: __cpu_{down,die} from !HOTPLUG_CPU
[IA64] Appoint kvm/ia64 Maintainers
[IA64] ia64_set_psr should use srlz.i
[IA64] Export three symbols for module use
[IA64] mca style cleanup
[IA64] sn_hwperf semaphore to mutex
[IA64] generalize attribute of fsyscall_gtod_data
[IA64] efi.c Add /* never reached */ annotation
[IA64] efi.c Spelling/punctuation fixes
[IA64] Make efi.c mostly fit in 80 columns
[IA64] aliasing-test: fix gcc warnings on non-ia64
[IA64] Slim-down __clear_bit_unlock
[IA64] Fix the order of atomic operations in restore_previous_kprobes on ia64
[IA64] constify function pointer tables
[IA64] fix userspace compile error in gcc_intrin.h
Diffstat (limited to 'arch/ia64/mm/fault.c')
-rw-r--r-- | arch/ia64/mm/fault.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/ia64/mm/fault.c b/arch/ia64/mm/fault.c index 7571076a16a1..3e69881648a3 100644 --- a/arch/ia64/mm/fault.c +++ b/arch/ia64/mm/fault.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <asm/system.h> | 16 | #include <asm/system.h> |
17 | #include <asm/uaccess.h> | 17 | #include <asm/uaccess.h> |
18 | 18 | ||
19 | extern void die (char *, struct pt_regs *, long); | 19 | extern int die(char *, struct pt_regs *, long); |
20 | 20 | ||
21 | #ifdef CONFIG_KPROBES | 21 | #ifdef CONFIG_KPROBES |
22 | static inline int notify_page_fault(struct pt_regs *regs, int trap) | 22 | static inline int notify_page_fault(struct pt_regs *regs, int trap) |
@@ -267,9 +267,11 @@ ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *re | |||
267 | else | 267 | else |
268 | printk(KERN_ALERT "Unable to handle kernel paging request at " | 268 | printk(KERN_ALERT "Unable to handle kernel paging request at " |
269 | "virtual address %016lx\n", address); | 269 | "virtual address %016lx\n", address); |
270 | die("Oops", regs, isr); | 270 | if (die("Oops", regs, isr)) |
271 | regs = NULL; | ||
271 | bust_spinlocks(0); | 272 | bust_spinlocks(0); |
272 | do_exit(SIGKILL); | 273 | if (regs) |
274 | do_exit(SIGKILL); | ||
273 | return; | 275 | return; |
274 | 276 | ||
275 | out_of_memory: | 277 | out_of_memory: |