]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- [2.4.2x, 2.6.x] don't recursively crash in die() on CHRP/PReP machines
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 2 Dec 2004 10:16:58 +0000 (10:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    linux-ppc-oops.patch -> 1.1

linux-ppc-oops.patch [new file with mode: 0644]

diff --git a/linux-ppc-oops.patch b/linux-ppc-oops.patch
new file mode 100644 (file)
index 0000000..d277523
--- /dev/null
@@ -0,0 +1,15 @@
+--- linux-2.4.27/arch/ppc/kernel/traps.c.orig  Wed Apr 14 15:05:27 2004
++++ linux-2.4.27/arch/ppc/kernel/traps.c       Mon Nov 29 19:05:28 2004
+@@ -88,8 +88,10 @@
+       console_verbose();
+       spin_lock_irq(&die_lock);
+ #ifdef CONFIG_PMAC_BACKLIGHT
+-      set_backlight_enable(1);
+-      set_backlight_level(BACKLIGHT_MAX);
++      if (_machine == _MACH_Pmac) {
++              set_backlight_enable(1);
++              set_backlight_level(BACKLIGHT_MAX);
++      }
+ #endif
+       printk("Oops: %s, sig: %ld\n", str, err);
+       show_regs(fp);
This page took 1.181884 seconds and 4 git commands to generate.