patch-2.4.22 linux-2.4.22/arch/mips64/kernel/irq_cpu.c
Next file: linux-2.4.22/arch/mips64/kernel/linux32.c
Previous file: linux-2.4.22/arch/mips64/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/mips64/kernel/irq_cpu.c
- Orig date:
2002-11-28 15:53:10.000000000 -0800
diff -urN linux-2.4.21/arch/mips64/kernel/irq_cpu.c linux-2.4.22/arch/mips64/kernel/irq_cpu.c
@@ -35,13 +35,13 @@
static inline void unmask_mips_irq(unsigned int irq)
{
- clear_cp0_cause(0x100 << (irq - mips_cpu_irq_base));
- set_cp0_status(0x100 << (irq - mips_cpu_irq_base));
+ clear_c0_cause(0x100 << (irq - mips_cpu_irq_base));
+ set_c0_status(0x100 << (irq - mips_cpu_irq_base));
}
static inline void mask_mips_irq(unsigned int irq)
{
- clear_cp0_status(0x100 << (irq - mips_cpu_irq_base));
+ clear_c0_status(0x100 << (irq - mips_cpu_irq_base));
}
static inline void mips_cpu_irq_enable(unsigned int irq)
@@ -78,7 +78,7 @@
static void mips_cpu_irq_ack(unsigned int irq)
{
/* Only necessary for soft interrupts */
- clear_cp0_cause(1 << (irq - mips_cpu_irq_base + 8));
+ clear_c0_cause(1 << (irq - mips_cpu_irq_base + 8));
mask_mips_irq(irq);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)