diff options
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/traps.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ppc/kernel/traps.c b/arch/ppc/kernel/traps.c index c65731e8bc65..2ca8ecfeefd9 100644 --- a/arch/ppc/kernel/traps.c +++ b/arch/ppc/kernel/traps.c | |||
@@ -81,8 +81,10 @@ void die(const char * str, struct pt_regs * fp, long err) | |||
81 | console_verbose(); | 81 | console_verbose(); |
82 | spin_lock_irq(&die_lock); | 82 | spin_lock_irq(&die_lock); |
83 | #ifdef CONFIG_PMAC_BACKLIGHT | 83 | #ifdef CONFIG_PMAC_BACKLIGHT |
84 | set_backlight_enable(1); | 84 | if (_machine == _MACH_Pmac) { |
85 | set_backlight_level(BACKLIGHT_MAX); | 85 | set_backlight_enable(1); |
86 | set_backlight_level(BACKLIGHT_MAX); | ||
87 | } | ||
86 | #endif | 88 | #endif |
87 | printk("Oops: %s, sig: %ld [#%d]\n", str, err, ++die_counter); | 89 | printk("Oops: %s, sig: %ld [#%d]\n", str, err, ++die_counter); |
88 | #ifdef CONFIG_PREEMPT | 90 | #ifdef CONFIG_PREEMPT |