Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260368
b: refs/heads/master
c: 39263ee
h: refs/heads/master
v: v3
  • Loading branch information
Jayachandran C authored and Ralf Baechle committed Jul 20, 2011
1 parent 3b72b76 commit b520612
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 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: 1544129da2de9fa276429deed8fac3fbc45634be
refs/heads/master: 39263eeb44308a5d6ea6117376721a6091d2b622
2 changes: 1 addition & 1 deletion trunk/arch/mips/netlogic/xlr/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void __init init_xlr_irqs(void)
irq_set_chip_and_handler(i, &xlr_pic, handle_level_irq);
else
irq_set_chip_and_handler(i, &nlm_cpu_intr,
handle_level_irq);
handle_percpu_irq);
}
#ifdef CONFIG_SMP
irq_set_chip_and_handler(IRQ_IPI_SMP_FUNCTION, &nlm_cpu_intr,
Expand Down
13 changes: 2 additions & 11 deletions trunk/arch/mips/netlogic/xlr/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,7 @@ void nlm_smp_function_ipi_handler(unsigned int irq, struct irq_desc *desc)
/* IRQ_IPI_SMP_RESCHEDULE handler */
void nlm_smp_resched_ipi_handler(unsigned int irq, struct irq_desc *desc)
{
set_need_resched();
}

void nlm_common_ipi_handler(int irq, struct pt_regs *regs)
{
if (irq == IRQ_IPI_SMP_FUNCTION) {
smp_call_function_interrupt();
} else {
/* Announce that we are for reschduling */
set_need_resched();
}
scheduler_ipi();
}

/*
Expand All @@ -122,6 +112,7 @@ void nlm_smp_finish(void)
#ifdef notyet
nlm_common_msgring_cpu_init();
#endif
local_irq_enable();
}

void nlm_cpus_done(void)
Expand Down

0 comments on commit b520612

Please sign in to comment.