bug.h 301 字节
Newer Older
B
Bryan Wu 已提交
1 2
#ifndef _BLACKFIN_BUG_H
#define _BLACKFIN_BUG_H
3 4 5 6 7 8 9 10 11 12 13 14

#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

B
Bryan Wu 已提交
15
#include <asm-generic/bug.h>
16

B
Bryan Wu 已提交
17
#endif