Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73848
b: refs/heads/master
c: a8401fa
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Nov 15, 2007
1 parent 3d4237f commit d3f8024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 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: 07a80e49240ff57bccc3c65944d35947c3d33697
refs/heads/master: a8401fa57f1600ca0ad74b958c2c9eb494f40dc8
15 changes: 2 additions & 13 deletions trunk/arch/mips/sibyte/bcm1480/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,18 +412,6 @@ static void bcm1480_kgdb_interrupt(void)

extern void bcm1480_mailbox_interrupt(void);

static inline void dispatch_ip4(void)
{
int cpu = smp_processor_id();
int irq = K_BCM1480_INT_TIMER_0 + cpu;

/* Reset the timer */
__raw_writeq(M_SCD_TIMER_ENABLE|M_SCD_TIMER_MODE_CONTINUOUS,
IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG)));

do_IRQ(irq);
}

static inline void dispatch_ip2(void)
{
unsigned long long mask_h, mask_l;
Expand Down Expand Up @@ -451,6 +439,7 @@ static inline void dispatch_ip2(void)

asmlinkage void plat_irq_dispatch(void)
{
unsigned int cpu = smp_processor_id();
unsigned int pending;

#ifdef CONFIG_SIBYTE_BCM1480_PROF
Expand All @@ -467,7 +456,7 @@ asmlinkage void plat_irq_dispatch(void)
#endif

if (pending & CAUSEF_IP4)
dispatch_ip4();
do_IRQ(K_BCM1480_INT_TIMER_0 + cpu);
#ifdef CONFIG_SMP
else if (pending & CAUSEF_IP3)
bcm1480_mailbox_interrupt();
Expand Down

0 comments on commit d3f8024

Please sign in to comment.