diff options
Diffstat (limited to 'arch/mn10300/mm')
-rw-r--r-- | arch/mn10300/mm/fault.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/mn10300/mm/fault.c b/arch/mn10300/mm/fault.c index 906e4c8f9ab1..59c3da49d9d9 100644 --- a/arch/mn10300/mm/fault.c +++ b/arch/mn10300/mm/fault.c | |||
@@ -39,10 +39,6 @@ void bust_spinlocks(int yes) | |||
39 | { | 39 | { |
40 | if (yes) { | 40 | if (yes) { |
41 | oops_in_progress = 1; | 41 | oops_in_progress = 1; |
42 | #ifdef CONFIG_SMP | ||
43 | /* Many serial drivers do __global_cli() */ | ||
44 | global_irq_lock = 0; | ||
45 | #endif | ||
46 | } else { | 42 | } else { |
47 | int loglevel_save = console_loglevel; | 43 | int loglevel_save = console_loglevel; |
48 | #ifdef CONFIG_VT | 44 | #ifdef CONFIG_VT |
@@ -334,10 +330,10 @@ no_context: | |||
334 | */ | 330 | */ |
335 | out_of_memory: | 331 | out_of_memory: |
336 | up_read(&mm->mmap_sem); | 332 | up_read(&mm->mmap_sem); |
337 | if ((fault_code & MMUFCR_xFC_ACCESS) != MMUFCR_xFC_ACCESS_USR) | 333 | printk(KERN_ALERT "VM: killing process %s\n", tsk->comm); |
338 | goto no_context; | 334 | if ((fault_code & MMUFCR_xFC_ACCESS) == MMUFCR_xFC_ACCESS_USR) |
339 | pagefault_out_of_memory(); | 335 | do_exit(SIGKILL); |
340 | return; | 336 | goto no_context; |
341 | 337 | ||
342 | do_sigbus: | 338 | do_sigbus: |
343 | up_read(&mm->mmap_sem); | 339 | up_read(&mm->mmap_sem); |