diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/ps3/smp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/ps3/smp.c b/arch/powerpc/platforms/ps3/smp.c index 8729348c0608..53416ec5198b 100644 --- a/arch/powerpc/platforms/ps3/smp.c +++ b/arch/powerpc/platforms/ps3/smp.c | |||
@@ -118,9 +118,11 @@ static void __init ps3_smp_setup_cpu(int cpu) | |||
118 | DBG("%s:%d: (%d, %d) => virq %u\n", | 118 | DBG("%s:%d: (%d, %d) => virq %u\n", |
119 | __func__, __LINE__, cpu, i, virqs[i]); | 119 | __func__, __LINE__, cpu, i, virqs[i]); |
120 | 120 | ||
121 | result = request_irq(virqs[i], ipi_function_handler, | ||
122 | IRQF_DISABLED, names[i], (void*)(long)i); | ||
121 | 123 | ||
122 | request_irq(virqs[i], ipi_function_handler, IRQF_DISABLED, | 124 | if (result) |
123 | names[i], (void*)(long)i); | 125 | virqs[i] = NO_IRQ; |
124 | } | 126 | } |
125 | 127 | ||
126 | ps3_register_ipi_debug_brk(cpu, virqs[PPC_MSG_DEBUGGER_BREAK]); | 128 | ps3_register_ipi_debug_brk(cpu, virqs[PPC_MSG_DEBUGGER_BREAK]); |