patch-2.4.22 linux-2.4.22/arch/mips/galileo-boards/ev96100/irq.c
Next file: linux-2.4.22/arch/mips/galileo-boards/ev96100/pci_fixups.c
Previous file: linux-2.4.22/arch/mips/galileo-boards/ev96100/init.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
2003-08-25 04:44:39.000000000 -0700
- Orig file:
linux-2.4.21/arch/mips/galileo-boards/ev96100/irq.c
- Orig date:
2002-11-28 15:53:10.000000000 -0800
diff -urN linux-2.4.21/arch/mips/galileo-boards/ev96100/irq.c linux-2.4.22/arch/mips/galileo-boards/ev96100/irq.c
@@ -32,6 +32,7 @@
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/kernel_stat.h>
+#include <linux/irq.h>
#include <linux/module.h>
#include <linux/signal.h>
#include <linux/sched.h>
@@ -45,13 +46,10 @@
#include <asm/bitops.h>
#include <asm/bootinfo.h>
#include <asm/io.h>
-#include <asm/irq.h>
#include <asm/mipsregs.h>
#include <asm/system.h>
#include <asm/galileo-boards/ev96100int.h>
-extern asmlinkage unsigned int do_IRQ(int irq, struct pt_regs *regs);
-
extern void mips_timer_interrupt(int irq, struct pt_regs *regs);
extern asmlinkage void ev96100IRQ(void);
@@ -60,7 +58,7 @@
unsigned long flags;
save_and_cli(flags);
- clear_cp0_status(0x100 << irq_nr);
+ clear_c0_status(0x100 << irq_nr);
restore_flags(flags);
}
@@ -69,7 +67,7 @@
unsigned long flags;
save_and_cli(flags);
- set_cp0_status(0x100 << irq_nr);
+ set_c0_status(0x100 << irq_nr);
restore_flags(flags);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)