patch-2.3.23 linux/include/asm-sh/softirq.h

Next file: linux/include/asm-sh/system.h
Previous file: linux/include/asm-sh/socket.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/include/asm-sh/softirq.h linux/include/asm-sh/softirq.h
@@ -13,8 +13,7 @@
 #define local_bh_enable()	cpu_bh_enable(smp_processor_id())
 
 #define get_active_bhs()	(bh_mask & bh_active)
-/* XXX */
-#define clear_active_bhs(x)	atomic_clear_mask((x),&bh_active)
+#define clear_active_bhs(x)	atomic_clear_mask((x),(atomic_t *)&bh_active)
 
 extern inline void init_bh(int nr, void (*routine)(void))
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)