patch-2.3.99-pre9 linux/include/linux/wait.h

Next file: linux/include/linux/wrapper.h
Previous file: linux/include/linux/vmalloc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/include/linux/wait.h linux/include/linux/wait.h
@@ -27,7 +27,7 @@
 extern int printk(const char *fmt, ...);
 #define WQ_BUG() do { \
 	printk("wq bug, forcing oops.\n"); \
-	*(int*)0 = 0; \
+	BUG(); \
 } while (0)
 
 #define CHECK_MAGIC(x) if (x != (long)&(x)) \

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