patch-2.1.38 linux/include/asm-sparc/hardirq.h
Next file: linux/include/asm-sparc/irq.h
Previous file: linux/include/asm-sparc/current.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed May 14 15:01:21 1997
- Orig file:
v2.1.37/linux/include/asm-sparc/hardirq.h
- Orig date:
Wed Apr 23 19:01:28 1997
diff -u --recursive --new-file v2.1.37/linux/include/asm-sparc/hardirq.h linux/include/asm-sparc/hardirq.h
@@ -51,7 +51,7 @@
__save_flags(flags); \
__cli(); \
if(atomic_add_return(1, &global_irq_count) != 1 || \
- global_irq_lock) { \
+ *(((unsigned char *)(&global_irq_lock)))) { \
atomic_dec(&global_irq_count); \
__restore_flags(flags); \
ret = 0; \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov