X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-s390%2Fbug.h;fp=include%2Fasm-s390%2Fbug.h;h=7ddaa05b98d8406b9988921b5275179083bd8e94;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=a2e7430aafa625b53cc889a998b4ad972f876763;hpb=cee37fe97739d85991964371c1f3a745c00dd236;p=linux-2.6.git diff --git a/include/asm-s390/bug.h b/include/asm-s390/bug.h index a2e7430aa..7ddaa05b9 100644 --- a/include/asm-s390/bug.h +++ b/include/asm-s390/bug.h @@ -4,9 +4,10 @@ #include #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