Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32572
b: refs/heads/master
c: 6e61e85
h: refs/heads/master
v: v3
  • Loading branch information
Thiemo Seufer authored and Ralf Baechle committed Jul 13, 2006
1 parent 45b33d0 commit 0b255be
Show file tree
Hide file tree
Showing 3 changed files with 10 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: fc5d2d279ff820172a698706d33e733d4578bd6c
refs/heads/master: 6e61e85b0980f7b88cd5c4b822386ed00dd7e295
7 changes: 4 additions & 3 deletions trunk/arch/mips/sibyte/bcm1480/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,22 +502,23 @@ asmlinkage void plat_irq_dispatch(struct pt_regs *regs)
#ifdef CONFIG_SIBYTE_BCM1480_PROF
if (pending & CAUSEF_IP7) /* Cpu performance counter interrupt */
sbprof_cpu_intr(exception_epc(regs));
else
#endif

if (pending & CAUSEF_IP4)
bcm1480_timer_interrupt(regs);

#ifdef CONFIG_SMP
if (pending & CAUSEF_IP3)
else if (pending & CAUSEF_IP3)
bcm1480_mailbox_interrupt(regs);
#endif

#ifdef CONFIG_KGDB
if (pending & CAUSEF_IP6)
else if (pending & CAUSEF_IP6)
bcm1480_kgdb_interrupt(regs); /* KGDB (uart 1) */
#endif

if (pending & CAUSEF_IP2) {
else if (pending & CAUSEF_IP2) {
unsigned long long mask_h, mask_l;
unsigned long base;

Expand Down
10 changes: 5 additions & 5 deletions trunk/arch/mips/sibyte/sb1250/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,25 +460,25 @@ asmlinkage void plat_irq_dispatch(struct pt_regs *regs)
pending = read_c0_cause();

#ifdef CONFIG_SIBYTE_SB1250_PROF
if (pending & CAUSEF_IP7) { /* Cpu performance counter interrupt */
if (pending & CAUSEF_IP7) /* Cpu performance counter interrupt */
sbprof_cpu_intr(exception_epc(regs));
}
else
#endif

if (pending & CAUSEF_IP4)
sb1250_timer_interrupt(regs);

#ifdef CONFIG_SMP
if (pending & CAUSEF_IP3)
else if (pending & CAUSEF_IP3)
sb1250_mailbox_interrupt(regs);
#endif

#ifdef CONFIG_KGDB
if (pending & CAUSEF_IP6) /* KGDB (uart 1) */
else if (pending & CAUSEF_IP6) /* KGDB (uart 1) */
sb1250_kgdb_interrupt(regs);
#endif

if (pending & CAUSEF_IP2) {
else if (pending & CAUSEF_IP2) {
unsigned long long mask;

/*
Expand Down

0 comments on commit 0b255be

Please sign in to comment.