Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204711
b: refs/heads/master
c: e8775d4
h: refs/heads/master
i:
  204709: 96dd727
  204707: a9313a3
  204703: d446ef1
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Jul 9, 2010
1 parent 1091f87 commit 91f0190
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b9f1cd71dbf21a91fb7e2336a1d1ff18b97771e5
refs/heads/master: e8775d4aa17d70d123814e68a6a51bbea50e5c16
9 changes: 9 additions & 0 deletions trunk/arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,17 @@ notrace void raw_local_irq_restore(unsigned long en)
* use local_paca instead of get_paca() to avoid preemption checking.
*/
local_paca->hard_enabled = en;

#ifndef CONFIG_BOOKE
/* On server, re-trigger the decrementer if it went negative since
* some processors only trigger on edge transitions of the sign bit.
*
* BookE has a level sensitive decrementer (latches in TSR) so we
* don't need that
*/
if ((int)mfspr(SPRN_DEC) < 0)
mtspr(SPRN_DEC, 1);
#endif /* CONFIG_BOOKE */

/*
* Force the delivery of pending soft-disabled interrupts on PS3.
Expand Down

0 comments on commit 91f0190

Please sign in to comment.