2005-04-16 18:20:36 -04:00
|
|
|
#ifndef __ASM_SH_BUG_H
|
|
|
|
#define __ASM_SH_BUG_H
|
|
|
|
|
|
|
|
|
2005-05-01 11:59:01 -04:00
|
|
|
#ifdef CONFIG_BUG
|
2005-04-16 18:20:36 -04: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 11:59:01 -04:00
|
|
|
#endif
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
#include <asm-generic/bug.h>
|
|
|
|
|
|
|
|
#endif
|