patch-1.3.65 linux/arch/alpha/kernel/irq.c
Next file: linux/arch/alpha/kernel/ksyms.c
Previous file: linux/arch/alpha/kernel/entry.S
Back to the patch index
Back to the overall index
-  Lines: 19
 -  Date:
Sat Feb 17 09:19:37 1996
 -  Orig file: 
v1.3.64/linux/arch/alpha/kernel/irq.c
 -  Orig date: 
Fri Feb 16 11:34:04 1996
 
diff -u --recursive --new-file v1.3.64/linux/arch/alpha/kernel/irq.c linux/arch/alpha/kernel/irq.c
@@ -577,6 +577,9 @@
 		    (((unsigned long)cache_27)<<24));
 #endif
 	irqs &= irqmask & ~1;	/* always mask out irq 0---it's the unused timer */
+#ifdef CONFIG_ALPHA_P2K
+	irqs &= ~(1 << 8);	/* mask out irq 8 since that's the unused RTC input to PIC */
+#endif
 	if (!irqs)
 		return 0;
 	i = ffz(~irqs);
@@ -616,7 +619,7 @@
 			return;
 		case 3:
 #if defined(CONFIG_ALPHA_JENSEN) || defined(CONFIG_ALPHA_NONAME) || \
-    defined(CONFIG_ALPHA_SRM)
+    defined(CONFIG_ALPHA_P2K) || defined(CONFIG_ALPHA_SRM)
 			srm_device_interrupt(vector, ®s);
 #elif NR_IRQS == 33
 			cabriolet_and_eb66p_device_interrupt(vector, ®s);
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