[PATCH] W1: possible cleanups
[linux-2.6/verdex.git] / include / asm-sh / bug.h
blob1b4fc52a59e86beb62adf210158260c453a01ab5
1 #ifndef __ASM_SH_BUG_H
2 #define __ASM_SH_BUG_H
5 #ifdef CONFIG_BUG
6 /*
7 * Tell the user there is some problem.
8 */
9 #define BUG() do { \
10 printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
11 *(volatile int *)0 = 0; \
12 } while (0)
14 #define HAVE_ARCH_BUG
15 #endif
17 #include <asm-generic/bug.h>
19 #endif