Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27650
b: refs/heads/master
c: e1701fb
h: refs/heads/master
v: v3
  • Loading branch information
[MIPS] James E Wilson authored and Ralf Baechle committed Jun 19, 2006
1 parent 5cfd972 commit 679ad9c
Show file tree
Hide file tree
Showing 2 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: 4b29f6043dbb07823a0a618fb8b35ef3ac83e759
refs/heads/master: e1701fb2e2f3c02760684e26007e3379be23b690
17 changes: 9 additions & 8 deletions trunk/arch/mips/sibyte/bcm1480/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,18 @@ void bcm1480_timer_interrupt(struct pt_regs *regs)
__raw_writeq(M_SCD_TIMER_ENABLE|M_SCD_TIMER_MODE_CONTINUOUS,
IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG)));

/*
* CPU 0 handles the global timer interrupt job
*/
if (cpu == 0) {
/*
* CPU 0 handles the global timer interrupt job
*/
ll_timer_interrupt(irq, regs);
}

/*
* every CPU should do profiling and process accouting
*/
ll_local_timer_interrupt(irq, regs);
else {
/*
* other CPUs should just do profiling and process accounting
*/
ll_local_timer_interrupt(irq, regs);
}
}

/*
Expand Down

0 comments on commit 679ad9c

Please sign in to comment.