2005-04-17 00:20:36 +02:00
|
|
|
#ifndef __ASM_SH_BUG_H
|
|
|
|
#define __ASM_SH_BUG_H
|
|
|
|
|
|
|
|
|
2005-05-01 17:59:01 +02:00
|
|
|
#ifdef CONFIG_BUG
|
2005-04-17 00:20:36 +02:00
|
|
|
/*
|
|
|
|
* Tell the user there is some problem.
|
|
|
|
*/
|
|
|
|
#define BUG() do { \
|
|
|
|
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
|
|
|
|
*(volatile int *)0 = 0; \
|
|
|
|
} while (0)
|
|
|
|
|
|
|
|
#define HAVE_ARCH_BUG
|
2005-05-01 17:59:01 +02:00
|
|
|
#endif
|
|
|
|
|
2005-04-17 00:20:36 +02:00
|
|
|
#include <asm-generic/bug.h>
|
|
|
|
|
|
|
|
#endif
|