patch-2.4.22 linux-2.4.22/arch/mips/cobalt/irq.c
Next file: linux-2.4.22/arch/mips/cobalt/pci.c
Previous file: linux-2.4.22/arch/mips/cobalt/int-handler.S
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
2003-08-25 04:44:39.000000000 -0700
- Orig file:
linux-2.4.21/arch/mips/cobalt/irq.c
- Orig date:
2002-11-28 15:53:09.000000000 -0800
diff -urN linux-2.4.21/arch/mips/cobalt/irq.c linux-2.4.22/arch/mips/cobalt/irq.c
@@ -17,6 +17,7 @@
#include <linux/ioport.h>
#include <asm/bootinfo.h>
+#include <asm/i8259.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/mipsregs.h>
@@ -77,7 +78,7 @@
unsigned long flags;
save_and_cli(flags);
- change_cp0_status(irqnr_to_type[irq], irqnr_to_type[irq]);
+ change_c0_status(irqnr_to_type[irq], irqnr_to_type[irq]);
restore_flags(flags);
}
@@ -93,7 +94,7 @@
unsigned long flags;
save_and_cli(flags);
- change_cp0_status(irqnr_to_type[irq], ~(irqnr_to_type[irq]));
+ change_c0_status(irqnr_to_type[irq], ~(irqnr_to_type[irq]));
restore_flags(flags);
}
@@ -133,8 +134,8 @@
/* Mask all cpu interrupts
(except IE4, we already masked those at VIA level) */
- clear_cp0_status(ST0_IM);
- set_cp0_status(IE_IRQ4);
+ clear_c0_status(ST0_IM);
+ set_c0_status(IE_IRQ4);
cli();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)