patch-2.1.48 linux/include/asm-ppc/irq.h
Next file: linux/include/asm-ppc/keyboard.h
Previous file: linux/include/asm-ppc/ioctls.h
Back to the patch index
Back to the overall index
-  Lines: 14
-  Date:
Thu Jul 31 13:09:18 1997
-  Orig file: 
v2.1.47/linux/include/asm-ppc/irq.h
-  Orig date: 
Mon May 27 02:00:59 1996
diff -u --recursive --new-file v2.1.47/linux/include/asm-ppc/irq.h linux/include/asm-ppc/irq.h
@@ -1,7 +1,13 @@
 #ifndef _ASM_IRQ_H
 #define _ASM_IRQ_H
 
+#include <linux/config.h>
+
+#ifdef CONFIG_PMAC
 #define NR_IRQS	32
+#else
+#define NR_IRQS	16
+#endif
 
 extern void disable_irq(unsigned int);
 extern void enable_irq(unsigned int);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov