Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349327
b: refs/heads/master
c: 689dfa8
h: refs/heads/master
i:
  349325: f2ed67f
  349323: 2f09cfd
  349319: df82305
  349311: 713b235
v: v3
  • Loading branch information
Tiejun Chen authored and Benjamin Herrenschmidt committed Jan 28, 2013
1 parent 03523cd commit 9efc898
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: fefd9e6f8860249b2c284d89cb2e51fa71a9503a
refs/heads/master: 689dfa894c57842a05bf6dc9f97e6bb71ec5f386
9 changes: 7 additions & 2 deletions trunk/arch/powerpc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,10 +494,15 @@ void timer_interrupt(struct pt_regs * regs)
set_dec(DECREMENTER_MAX);

/* Some implementations of hotplug will get timer interrupts while
* offline, just ignore these
* offline, just ignore these and we also need to set
* decrementers_next_tb as MAX to make sure __check_irq_replay
* don't replay timer interrupt when return, otherwise we'll trap
* here infinitely :(
*/
if (!cpu_online(smp_processor_id()))
if (!cpu_online(smp_processor_id())) {
*next_tb = ~(u64)0;
return;
}

/* Conditionally hard-enable interrupts now that the DEC has been
* bumped to its maximum value
Expand Down

0 comments on commit 9efc898

Please sign in to comment.