From 2b55c4521f7c67f4f9f8d189f64d3808d86213da Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 2 Dec 2004 10:16:58 +0000 Subject: [PATCH] - [2.4.2x, 2.6.x] don't recursively crash in die() on CHRP/PReP machines Changed files: linux-ppc-oops.patch -> 1.1 --- linux-ppc-oops.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 linux-ppc-oops.patch diff --git a/linux-ppc-oops.patch b/linux-ppc-oops.patch new file mode 100644 index 00000000..d2775234 --- /dev/null +++ b/linux-ppc-oops.patch @@ -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); -- 2.44.0