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

Next file: linux/arch/alpha/kernel/osf_sys.c
Previous file: linux/arch/alpha/kernel/entry.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.1/linux/arch/alpha/kernel/irq.c linux/arch/alpha/kernel/irq.c
@@ -232,6 +232,8 @@
 	action->handler(irq, regs);
 }
 
+#ifndef CONFIG_PCI
+
 static void local_device_interrupt(unsigned long vector, struct pt_regs * regs)
 {
 	switch (vector) {
@@ -259,6 +261,8 @@
 	}
 }
 
+#endif /* !CONFIG_PCI */
+
 /*
  * The vector is 0x8X0 for EISA interrupt X, and 0x9X0 for the local
  * motherboard interrupts.. This is for the Jensen.
@@ -373,6 +377,11 @@
 static void machine_check(unsigned long vector, unsigned long la_ptr, struct pt_regs * regs)
 {
 	printk("Machine check\n");
+#ifdef LCA_MEM_ESR
+	printk("esr=%lx, ear=%lx, ioc_stat0=%lx, ioc_stat1=%lx\n",
+	       *(unsigned long*)LCA_MEM_ESR, *(unsigned long*)LCA_MEM_EAR,
+	       *(unsigned long*)LCA_IOC_STAT0, *(unsigned long*)LCA_IOC_STAT1);
+#endif
 }
 
 asmlinkage void do_entInt(unsigned long type, unsigned long vector, unsigned long la_ptr,

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