X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-v850%2Fbug.h;h=c778916bf7f2c1410c02387e5b27a3d81f24333f;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=ce68b9abace624858edc8210865dadb6d439aa99;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/include/asm-v850/bug.h b/include/asm-v850/bug.h index ce68b9aba..c778916bf 100644 --- a/include/asm-v850/bug.h +++ b/include/asm-v850/bug.h @@ -16,15 +16,7 @@ extern void __bug (void) __attribute__ ((noreturn)); #define BUG() __bug() -#define PAGE_BUG(page) __bug() - -#define BUG_ON(condition) do { if (unlikely((condition)!=0)) 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 /* __V850_BUG_H__ */