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

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