X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-s390%2Fbug.h;h=a2e7430aafa625b53cc889a998b4ad972f876763;hb=987b0145d94eecf292d8b301228356f44611ab7c;hp=7ddaa05b98d8406b9988921b5275179083bd8e94;hpb=f7ed79d23a47594e7834d66a8f14449796d4f3e6;p=linux-2.6.git diff --git a/include/asm-s390/bug.h b/include/asm-s390/bug.h index 7ddaa05b9..a2e7430aa 100644 --- a/include/asm-s390/bug.h +++ b/include/asm-s390/bug.h @@ -4,10 +4,9 @@ #include #ifdef CONFIG_BUG - #define BUG() do { \ - printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ - __builtin_trap(); \ + printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ + __asm__ __volatile__(".long 0"); \ } while (0) #define HAVE_ARCH_BUG