aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/irq.c')
-rw-r--r--arch/powerpc/kernel/irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index eb9fc621e057..e1936952017c 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -268,7 +268,8 @@ void do_IRQ(struct pt_regs *regs)
268 set_irq_regs(old_regs); 268 set_irq_regs(old_regs);
269 269
270#ifdef CONFIG_PPC_ISERIES 270#ifdef CONFIG_PPC_ISERIES
271 if (get_lppaca()->int_dword.fields.decr_int) { 271 if (firmware_has_feature(FW_FEATURE_ISERIES) &&
272 get_lppaca()->int_dword.fields.decr_int) {
272 get_lppaca()->int_dword.fields.decr_int = 0; 273 get_lppaca()->int_dword.fields.decr_int = 0;
273 /* Signal a fake decrementer interrupt */ 274 /* Signal a fake decrementer interrupt */
274 timer_interrupt(regs); 275 timer_interrupt(regs);