[parisc-linux-cvs] linux carlos
Carlos O'Donell
carlos@baldric.uwo.ca
Sun, 3 Nov 2002 18:24:24 -0500
On Sun, Nov 03, 2002 at 04:18:19PM -0700, Carlos O'Donell wrote:
> CVSROOT: /var/cvs
> Module name: linux
> Changes by: carlos 02/11/03 16:18:19
>
> Modified files:
> arch/parisc/mm : fault.c
>
> Log message:
> Remind user that parisc_terminate will gutter the processor.
>
Errr... s/user/kernel hacker/g :}
I got bit by parisc_terminate a long time ago... so I've made
sure to add the "not reached" bit at the end of all the calls.
c.
===================================================================
RCS file: /var/cvs/linux/arch/parisc/mm/fault.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- linux/arch/parisc/mm/fault.c 2001/12/04 23:19:47 1.35
+++ linux/arch/parisc/mm/fault.c 2002/11/03 23:18:19 1.36
@@ -257,7 +257,8 @@
}
parisc_terminate("Bad Address (null pointer deref?)", regs,
code, address);
-
+ /* NOT REACHED! */
+
out_of_memory:
up_read(&mm->mmap_sem);
printk(KERN_CRIT "VM: killing process %s\n", current->comm);