X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-s390%2Fbug.h;h=2b8d6d4dffcfdc6a696cd41877a94ba0af262dca;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=d59639386f7cd14dcfe4bded1cf09e289db8c862;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-s390/bug.h b/include/asm-s390/bug.h index d59639386..2b8d6d4df 100644 --- a/include/asm-s390/bug.h +++ b/include/asm-s390/bug.h @@ -6,22 +6,9 @@ #define BUG() do { \ printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ __asm__ __volatile__(".long 0"); \ -} while (0) - -#define BUG_ON(condition) do { \ - if (unlikely((condition)!=0)) \ - BUG(); \ -} while(0) - -#define PAGE_BUG(page) do { \ - BUG(); \ -} while (0) - -#define WARN_ON(condition) do { \ - if (unlikely((condition)!=0)) { \ - printk("Badness in %s at %s:%d\n", __FUNCTION__, __FILE__, __LINE__); \ - dump_stack(); \ - } \ } while (0) +#define HAVE_ARCH_BUG +#include + #endif