Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55008
b: refs/heads/master
c: 0874dd4
h: refs/heads/master
v: v3
  • Loading branch information
Takao Shinohara authored and Paul Mackerras committed May 2, 2007
1 parent 0fd4029 commit ce2c71b
Show file tree
Hide file tree
Showing 2 changed files with 12 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: dc4f60c25ae71e8278dcf909486e4aa34de7eecb
refs/heads/master: 0874dd40bf3c1f291da14b2c554c5640c0b6bf1b
11 changes: 11 additions & 0 deletions trunk/arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
#ifdef CONFIG_PPC64
#include <asm/paca.h>
#include <asm/firmware.h>
#include <asm/lv1call.h>
#endif

int __irq_offset_value;
Expand Down Expand Up @@ -162,6 +163,16 @@ void local_irq_restore(unsigned long en)
local_paca->hard_enabled = en;
if ((int)mfspr(SPRN_DEC) < 0)
mtspr(SPRN_DEC, 1);

/*
* Force the delivery of pending soft-disabled interrupts on PS3.
* Any HV call will have this side effect.
*/
if (firmware_has_feature(FW_FEATURE_PS3_LV1)) {
u64 tmp;
lv1_get_version_info(&tmp);
}

hard_irq_enable();
}
#endif /* CONFIG_PPC64 */
Expand Down

0 comments on commit ce2c71b

Please sign in to comment.