Files
linux-apfs/include/asm-sh/bug.h
T

21 lines
324 B
C
Raw Normal View History

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