patch-pre2.0.14-final2.0 linux/arch/alpha/kernel/irq.c

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

diff -u --recursive --new-file pre2.0.14/linux/arch/alpha/kernel/irq.c linux/arch/alpha/kernel/irq.c
@@ -193,6 +193,13 @@
 		/* .. then the master */
 		outb(0xE0 | irq, 0x20);
 	}
+#if defined(CONFIG_ALPHA_ALCOR)
+	/* on ALCOR, need to dismiss interrupt via GRU */
+	*(int *)GRU_INT_CLEAR = 0x80000000; 
+	mb();
+	*(int *)GRU_INT_CLEAR = 0x00000000;
+	mb();
+#endif /* CONFIG_ALPHA_ALCOR */
 }
 
 int request_irq(unsigned int irq, 

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