patch-2.1.34 linux/arch/ppc/kernel/irq.c
Next file: linux/arch/ppc/mm/init.c
Previous file: linux/arch/mips/mm/init.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Apr 14 09:31:08 1997
- Orig file:
v2.1.33/linux/arch/ppc/kernel/irq.c
- Orig date:
Wed Dec 18 00:49:52 1996
diff -u --recursive --new-file v2.1.33/linux/arch/ppc/kernel/irq.c linux/arch/ppc/kernel/irq.c
@@ -161,7 +161,7 @@
process_IRQ(int irq, int _irq, struct pt_regs *regs)
{
struct irq_action *action;
- intr_count++;
+ atomic_inc(&intr_count);
if (irq < 16)
{
/* Mask interrupt */
@@ -242,7 +242,7 @@
{
BeBox_enable_irq(irq);
}
- intr_count--;
+ atomic_dec(&intr_count);
}
asmlinkage inline void handle_IRQ(struct pt_regs *regs)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov