Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11190
b: refs/heads/master
c: a50b3e2
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2005
1 parent 4c83dc4 commit 2588daa
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: 8b200ce4a697fbbf446de3a0874232d7aaa3f6d3
refs/heads/master: a50b3e2763dc23f8427b7f4a199235dfe9a073c0
17 changes: 9 additions & 8 deletions trunk/arch/mips/sibyte/sb1250/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,18 @@ void sb1250_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 2588daa

Please sign in to comment.