]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-s390/bug.h
[MIPS] Make set_vi_srs_handler static.
[linux-2.6-omap-h63xx.git] / include / asm-s390 / bug.h
index a2e7430aafa625b53cc889a998b4ad972f876763..7ddaa05b98d8406b9988921b5275179083bd8e94 100644 (file)
@@ -4,9 +4,10 @@
 #include <linux/kernel.h>
 
 #ifdef CONFIG_BUG
+
 #define BUG() do { \
-        printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
-        __asm__ __volatile__(".long 0"); \
+       printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
+       __builtin_trap(); \
 } while (0)
 
 #define HAVE_ARCH_BUG