OMAP: Add new function to check wether there is irq pending
[linux-ginger.git] / arch / blackfin / include / asm / bug.h
blob6d3e11b1fc576c6f141c98e3086e477c691a23df
1 #ifndef _BLACKFIN_BUG_H
2 #define _BLACKFIN_BUG_H
4 #ifdef CONFIG_BUG
5 #define HAVE_ARCH_BUG
7 #define BUG() do { \
8 dump_bfin_trace_buffer(); \
9 printk(KERN_EMERG "BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \
10 panic("BUG!"); \
11 } while (0)
13 #endif
15 #include <asm-generic/bug.h>
17 #endif