diff options
Diffstat (limited to 'arch/powerpc/platforms/ps3/smp.c')
-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 6fb887961a6d..8729348c0608 100644 --- a/arch/powerpc/platforms/ps3/smp.c +++ b/arch/powerpc/platforms/ps3/smp.c | |||
@@ -110,7 +110,7 @@ static void __init ps3_smp_setup_cpu(int cpu) | |||
110 | BUILD_BUG_ON(PPC_MSG_DEBUGGER_BREAK != 3); | 110 | BUILD_BUG_ON(PPC_MSG_DEBUGGER_BREAK != 3); |
111 | 111 | ||
112 | for (i = 0; i < MSG_COUNT; i++) { | 112 | for (i = 0; i < MSG_COUNT; i++) { |
113 | result = ps3_alloc_event_irq(cpu, &virqs[i]); | 113 | result = ps3_event_receive_port_setup(cpu, &virqs[i]); |
114 | 114 | ||
115 | if (result) | 115 | if (result) |
116 | continue; | 116 | continue; |
@@ -134,11 +134,13 @@ void ps3_smp_cleanup_cpu(int cpu) | |||
134 | int i; | 134 | int i; |
135 | 135 | ||
136 | DBG(" -> %s:%d: (%d)\n", __func__, __LINE__, cpu); | 136 | DBG(" -> %s:%d: (%d)\n", __func__, __LINE__, cpu); |
137 | |||
137 | for (i = 0; i < MSG_COUNT; i++) { | 138 | for (i = 0; i < MSG_COUNT; i++) { |
138 | ps3_free_event_irq(virqs[i]); | ||
139 | free_irq(virqs[i], (void*)(long)i); | 139 | free_irq(virqs[i], (void*)(long)i); |
140 | ps3_event_receive_port_destroy(virqs[i]); | ||
140 | virqs[i] = NO_IRQ; | 141 | virqs[i] = NO_IRQ; |
141 | } | 142 | } |
143 | |||
142 | DBG(" <- %s:%d: (%d)\n", __func__, __LINE__, cpu); | 144 | DBG(" <- %s:%d: (%d)\n", __func__, __LINE__, cpu); |
143 | } | 145 | } |
144 | 146 | ||