patch-2.1.45 linux/include/asm-sparc64/hardirq.h
Next file: linux/include/asm-sparc64/head.h
Previous file: linux/include/asm-sparc64/floppy.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Jul 16 19:22:51 1997
- Orig file:
v2.1.44/linux/include/asm-sparc64/hardirq.h
- Orig date:
Thu May 29 21:53:09 1997
diff -u --recursive --new-file v2.1.44/linux/include/asm-sparc64/hardirq.h linux/include/asm-sparc64/hardirq.h
@@ -13,8 +13,8 @@
#ifndef __SMP__
-#define hardirq_trylock(cpu) (++local_irq_count[cpu], (cpu)==0)
-#define hardirq_endlock(cpu) (--local_irq_count[cpu])
+#define hardirq_trylock(cpu) (local_irq_count[cpu] == 0)
+#define hardirq_endlock(cpu) do { } while(0)
#define hardirq_enter(cpu) (local_irq_count[cpu]++)
#define hardirq_exit(cpu) (local_irq_count[cpu]--)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov