patch-2.4.18 linux/arch/ppc/kernel/open_pic.c
Next file: linux/arch/ppc/kernel/pci.c
Previous file: linux/arch/ppc/kernel/misc.S
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Wed Dec 26 16:28:34 2001
- Orig file:
linux.orig/arch/ppc/kernel/open_pic.c
- Orig date:
Mon Feb 18 20:18:39 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/arch/ppc/kernel/open_pic.c linux/arch/ppc/kernel/open_pic.c
@@ -1,5 +1,5 @@
/*
- * BK Id: SCCS/s.open_pic.c 1.31 10/11/01 12:09:11 trini
+ * BK Id: SCCS/s.open_pic.c 1.33 12/19/01 09:45:54 trini
*/
/*
* arch/ppc/kernel/open_pic.c -- OpenPIC Interrupt Handling
@@ -28,6 +28,7 @@
#include "local_irq.h"
#include "open_pic.h"
#include "open_pic_defs.h"
+#include "i8259.h"
void* OpenPIC_Addr;
static volatile struct OpenPIC *OpenPIC = NULL;
@@ -784,9 +785,6 @@
/*
* Clean up needed. -VAL
*/
-#ifndef CONFIG_GEMINI
- extern int i8259_irq(int cpu);
-#endif
int irq = openpic_irq();
/* Management of the cascade should be moved out of here */
@@ -801,7 +799,7 @@
irq = *chrp_int_ack_special;
#ifndef CONFIG_GEMINI
else
- irq = i8259_irq( smp_processor_id() );
+ irq = i8259_poll();
#endif
openpic_eoi();
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)