mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
2d19123388
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
18 lines
301 B
C
18 lines
301 B
C
#ifndef _BLACKFIN_BUG_H
|
|
#define _BLACKFIN_BUG_H
|
|
|
|
#ifdef CONFIG_BUG
|
|
#define HAVE_ARCH_BUG
|
|
|
|
#define BUG() do { \
|
|
dump_bfin_trace_buffer(); \
|
|
printk(KERN_EMERG "BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \
|
|
panic("BUG!"); \
|
|
} while (0)
|
|
|
|
#endif
|
|
|
|
#include <asm-generic/bug.h>
|
|
|
|
#endif
|