Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260381
b: refs/heads/master
c: 273f2d7
h: refs/heads/master
i:
  260379: 962a5fd
v: v3
  • Loading branch information
Kevin Cernekee authored and Ralf Baechle committed Jul 25, 2011
1 parent 2b91246 commit 4a57c0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 565b60de325070ccc54b18346a1238d4fae17954
refs/heads/master: 273f2d7e64f9fd22192b4cd31e7408284a721e69
14 changes: 6 additions & 8 deletions trunk/arch/mips/kernel/irq_cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,12 @@ void __init mips_cpu_irq_init(void)
clear_c0_status(ST0_IM);
clear_c0_cause(CAUSEF_IP);

/*
* Only MT is using the software interrupts currently, so we just
* leave them uninitialized for other processors.
*/
if (cpu_has_mipsmt)
for (i = irq_base; i < irq_base + 2; i++)
irq_set_chip_and_handler(i, &mips_mt_cpu_irq_controller,
handle_percpu_irq);
/* Software interrupts are used for MT/CMT IPI */
for (i = irq_base; i < irq_base + 2; i++)
irq_set_chip_and_handler(i, cpu_has_mipsmt ?
&mips_mt_cpu_irq_controller :
&mips_cpu_irq_controller,
handle_percpu_irq);

for (i = irq_base + 2; i < irq_base + 8; i++)
irq_set_chip_and_handler(i, &mips_cpu_irq_controller,
Expand Down

0 comments on commit 4a57c0a

Please sign in to comment.