]> git.pld-linux.org Git - packages/kernel.git/blob - 2216.decbug
- [2.4.2x, 2.6.x] don't recursively crash in die() on CHRP/PReP machines
[packages/kernel.git] / 2216.decbug
1 diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.15/arch/alpha/mm/fault.c linux/arch/alpha/mm/fault.c
2 --- v2.2.15/arch/alpha/mm/fault.c       Fri Apr 21 12:45:45 2000
3 +++ linux/arch/alpha/mm/fault.c Tue Jun  6 12:23:27 2000
4 @@ -147,11 +147,11 @@
5  
6  no_context:
7         /* Are we prepared to handle this fault as an exception?  */
8 -       if ((fixup = search_exception_table(regs->pc)) != 0) {
9 +       if ((fixup = search_exception_table(regs->pc, regs->gp)) != 0) {
10                 unsigned long newpc;
11                 newpc = fixup_exception(dpf_reg, fixup, regs->pc);
12 -#if 0
13 -               printk("%s: Exception at [<%lx>] (%lx)\n",
14 +#if 1
15 +               printk("%s: Exception at [<%lx>] (%lx) handled successfully.\n",
16                        current->comm, regs->pc, newpc);
17  #endif
18                 regs->pc = newpc;
This page took 0.029203 seconds and 3 git commands to generate.