diff options
Diffstat (limited to 'arch/ppc/xmon/xmon.c')
-rw-r--r-- | arch/ppc/xmon/xmon.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/ppc/xmon/xmon.c b/arch/ppc/xmon/xmon.c index 9075a7538e26..bdaf6597b4c2 100644 --- a/arch/ppc/xmon/xmon.c +++ b/arch/ppc/xmon/xmon.c | |||
@@ -16,9 +16,6 @@ | |||
16 | #include <asm/bootx.h> | 16 | #include <asm/bootx.h> |
17 | #include <asm/machdep.h> | 17 | #include <asm/machdep.h> |
18 | #include <asm/xmon.h> | 18 | #include <asm/xmon.h> |
19 | #ifdef CONFIG_PMAC_BACKLIGHT | ||
20 | #include <asm/backlight.h> | ||
21 | #endif | ||
22 | #include "nonstdio.h" | 19 | #include "nonstdio.h" |
23 | #include "privinst.h" | 20 | #include "privinst.h" |
24 | 21 | ||
@@ -260,16 +257,6 @@ int xmon(struct pt_regs *excp) | |||
260 | */ | 257 | */ |
261 | #endif /* CONFIG_SMP */ | 258 | #endif /* CONFIG_SMP */ |
262 | remove_bpts(); | 259 | remove_bpts(); |
263 | #ifdef CONFIG_PMAC_BACKLIGHT | ||
264 | if( setjmp(bus_error_jmp) == 0 ) { | ||
265 | debugger_fault_handler = handle_fault; | ||
266 | sync(); | ||
267 | set_backlight_enable(1); | ||
268 | set_backlight_level(BACKLIGHT_MAX); | ||
269 | sync(); | ||
270 | } | ||
271 | debugger_fault_handler = NULL; | ||
272 | #endif /* CONFIG_PMAC_BACKLIGHT */ | ||
273 | cmd = cmds(excp); | 260 | cmd = cmds(excp); |
274 | if (cmd == 's') { | 261 | if (cmd == 's') { |
275 | xmon_trace[smp_processor_id()] = SSTEP; | 262 | xmon_trace[smp_processor_id()] = SSTEP; |