[POWERPC] iSeries: fix irq.c for combined build
Stephen Rothwell
sfr at canb.auug.org.au
Tue Nov 21 14:16:13 EST 2006
Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
---
arch/powerpc/kernel/irq.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
This version will build on 32bit.
Cheers,
Stephen Rothwell
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index eb9fc62..e193695 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -268,7 +268,8 @@ void do_IRQ(struct pt_regs *regs)
set_irq_regs(old_regs);
#ifdef CONFIG_PPC_ISERIES
- if (get_lppaca()->int_dword.fields.decr_int) {
+ if (firmware_has_feature(FW_FEATURE_ISERIES) &&
+ get_lppaca()->int_dword.fields.decr_int) {
get_lppaca()->int_dword.fields.decr_int = 0;
/* Signal a fake decrementer interrupt */
timer_interrupt(regs);
--
1.4.3.5
More information about the Linuxppc-dev
mailing list