diff options
Diffstat (limited to 'arch/mips/netlogic/xlr/smp.c')
-rw-r--r-- | arch/mips/netlogic/xlr/smp.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/arch/mips/netlogic/xlr/smp.c b/arch/mips/netlogic/xlr/smp.c index b495a7f1433b..d842bce5c940 100644 --- a/arch/mips/netlogic/xlr/smp.c +++ b/arch/mips/netlogic/xlr/smp.c | |||
@@ -87,17 +87,7 @@ void nlm_smp_function_ipi_handler(unsigned int irq, struct irq_desc *desc) | |||
87 | /* IRQ_IPI_SMP_RESCHEDULE handler */ | 87 | /* IRQ_IPI_SMP_RESCHEDULE handler */ |
88 | void nlm_smp_resched_ipi_handler(unsigned int irq, struct irq_desc *desc) | 88 | void nlm_smp_resched_ipi_handler(unsigned int irq, struct irq_desc *desc) |
89 | { | 89 | { |
90 | set_need_resched(); | 90 | scheduler_ipi(); |
91 | } | ||
92 | |||
93 | void nlm_common_ipi_handler(int irq, struct pt_regs *regs) | ||
94 | { | ||
95 | if (irq == IRQ_IPI_SMP_FUNCTION) { | ||
96 | smp_call_function_interrupt(); | ||
97 | } else { | ||
98 | /* Announce that we are for reschduling */ | ||
99 | set_need_resched(); | ||
100 | } | ||
101 | } | 91 | } |
102 | 92 | ||
103 | /* | 93 | /* |
@@ -122,6 +112,7 @@ void nlm_smp_finish(void) | |||
122 | #ifdef notyet | 112 | #ifdef notyet |
123 | nlm_common_msgring_cpu_init(); | 113 | nlm_common_msgring_cpu_init(); |
124 | #endif | 114 | #endif |
115 | local_irq_enable(); | ||
125 | } | 116 | } |
126 | 117 | ||
127 | void nlm_cpus_done(void) | 118 | void nlm_cpus_done(void) |