diff options
Diffstat (limited to 'arch/powerpc/platforms/pseries/ras.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/ras.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/pseries/ras.c b/arch/powerpc/platforms/pseries/ras.c index a1ab25c7082f..2b548afd1003 100644 --- a/arch/powerpc/platforms/pseries/ras.c +++ b/arch/powerpc/platforms/pseries/ras.c | |||
@@ -67,8 +67,6 @@ static int ras_check_exception_token; | |||
67 | static irqreturn_t ras_epow_interrupt(int irq, void *dev_id); | 67 | static irqreturn_t ras_epow_interrupt(int irq, void *dev_id); |
68 | static irqreturn_t ras_error_interrupt(int irq, void *dev_id); | 68 | static irqreturn_t ras_error_interrupt(int irq, void *dev_id); |
69 | 69 | ||
70 | /* #define DEBUG */ | ||
71 | |||
72 | 70 | ||
73 | static void request_ras_irqs(struct device_node *np, | 71 | static void request_ras_irqs(struct device_node *np, |
74 | irq_handler_t handler, | 72 | irq_handler_t handler, |
@@ -237,7 +235,7 @@ static irqreturn_t ras_error_interrupt(int irq, void *dev_id) | |||
237 | printk(KERN_EMERG "Error: Fatal hardware error <0x%lx 0x%x>\n", | 235 | printk(KERN_EMERG "Error: Fatal hardware error <0x%lx 0x%x>\n", |
238 | *((unsigned long *)&ras_log_buf), status); | 236 | *((unsigned long *)&ras_log_buf), status); |
239 | 237 | ||
240 | #ifndef DEBUG | 238 | #ifndef DEBUG_RTAS_POWER_OFF |
241 | /* Don't actually power off when debugging so we can test | 239 | /* Don't actually power off when debugging so we can test |
242 | * without actually failing while injecting errors. | 240 | * without actually failing while injecting errors. |
243 | * Error data will not be logged to syslog. | 241 | * Error data will not be logged to syslog. |