|
@@ -67,8 +67,6 @@ static int ras_check_exception_token;
|
|
|
static irqreturn_t ras_epow_interrupt(int irq, void *dev_id);
|
|
|
static irqreturn_t ras_error_interrupt(int irq, void *dev_id);
|
|
|
|
|
|
-/* #define DEBUG */
|
|
|
-
|
|
|
|
|
|
static void request_ras_irqs(struct device_node *np,
|
|
|
irq_handler_t handler,
|
|
@@ -237,7 +235,7 @@ static irqreturn_t ras_error_interrupt(int irq, void *dev_id)
|
|
|
printk(KERN_EMERG "Error: Fatal hardware error <0x%lx 0x%x>\n",
|
|
|
*((unsigned long *)&ras_log_buf), status);
|
|
|
|
|
|
-#ifndef DEBUG
|
|
|
+#ifndef DEBUG_RTAS_POWER_OFF
|
|
|
/* Don't actually power off when debugging so we can test
|
|
|
* without actually failing while injecting errors.
|
|
|
* Error data will not be logged to syslog.
|