diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-23 17:09:04 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-03-25 13:45:18 -0400 |
commit | 930cd54b3bd78e52991a89b39b5ef58355ad2b6d (patch) | |
tree | 48699521917d84863846f3e7638c4178dfa9fbf5 /arch/mips/kernel/irq.c | |
parent | 2a2b2212986a4072d11e521a63672e3219173437 (diff) |
MIPS: SMTC: Cleanup the hook mess and use irq_data
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2194/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/irq.c')
-rw-r--r-- | arch/mips/kernel/irq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index 4f93db58a79e..779b78799ad2 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c | |||
@@ -183,8 +183,8 @@ void __irq_entry do_IRQ(unsigned int irq) | |||
183 | { | 183 | { |
184 | irq_enter(); | 184 | irq_enter(); |
185 | check_stack_overflow(); | 185 | check_stack_overflow(); |
186 | __DO_IRQ_SMTC_HOOK(irq); | 186 | if (!smtc_handle_on_other_cpu(irq)) |
187 | generic_handle_irq(irq); | 187 | generic_handle_irq(irq); |
188 | irq_exit(); | 188 | irq_exit(); |
189 | } | 189 | } |
190 | 190 | ||
@@ -197,7 +197,7 @@ void __irq_entry do_IRQ(unsigned int irq) | |||
197 | void __irq_entry do_IRQ_no_affinity(unsigned int irq) | 197 | void __irq_entry do_IRQ_no_affinity(unsigned int irq) |
198 | { | 198 | { |
199 | irq_enter(); | 199 | irq_enter(); |
200 | __NO_AFFINITY_IRQ_SMTC_HOOK(irq); | 200 | smtc_im_backstop(irq); |
201 | generic_handle_irq(irq); | 201 | generic_handle_irq(irq); |
202 | irq_exit(); | 202 | irq_exit(); |
203 | } | 203 | } |