patch-1.3.75 linux/arch/alpha/kernel/irq.c

Next file: linux/arch/alpha/kernel/setup.c
Previous file: linux/arch/alpha/config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.74/linux/arch/alpha/kernel/irq.c linux/arch/alpha/kernel/irq.c
@@ -281,7 +281,7 @@
 #endif
 }
 
-static inline void handle_irq(int irq, void *dev_id, struct pt_regs * regs)
+static inline void handle_irq(int irq, struct pt_regs * regs)
 {
 	struct irqaction * action = irq_action[irq];
 
@@ -340,6 +340,8 @@
 	unmask_irq(ack);
 }
 
+#ifdef CONFIG_PCI
+
 /*
  * Handle ISA interrupt via the PICs.
  */
@@ -469,6 +471,8 @@
 	}
 	restore_flags(flags);
 }
+
+#endif /* CONFIG_PCI */
 
 /*
  * Jensen is special: the vector is 0x8X0 for EISA interrupt X, and

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this