patch-2.1.17 linux/arch/sparc/kernel/irq.c
Next file: linux/arch/sparc/kernel/ksyms.c
Previous file: linux/arch/sparc/kernel/entry.S
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu Dec 19 11:03:32 1996
- Orig file:
v2.1.16/linux/arch/sparc/kernel/irq.c
- Orig date:
Wed Dec 18 15:58:43 1996
diff -u --recursive --new-file v2.1.16/linux/arch/sparc/kernel/irq.c linux/arch/sparc/kernel/irq.c
@@ -1,4 +1,4 @@
-/* $Id: irq.c,v 1.57 1996/11/30 02:13:53 davem Exp $
+/* $Id: irq.c,v 1.58 1996/12/18 06:33:41 tridge Exp $
* arch/sparc/kernel/irq.c: Interrupt request handling routines. On the
* Sparc the IRQ's are basically 'cast in stone'
* and you are supposed to probe the prom's device
@@ -395,11 +395,6 @@
{
extern void sun4c_init_IRQ( void );
extern void sun4m_init_IRQ( void );
-#if CONFIG_AP1000
- extern void ap_init_IRQ(void);
- ap_init_IRQ();
- return;
-#endif
switch(sparc_cpu_model) {
case sun4c:
@@ -409,6 +404,12 @@
case sun4m:
sun4m_init_IRQ();
break;
+
+ case ap1000:
+#if CONFIG_AP1000
+ ap_init_IRQ();;
+ break;
+#endif
default:
prom_printf("Cannot initialize IRQ's on this Sun machine...");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov