Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | #ifndef __ASM_BUG_H |
2 | #define __ASM_BUG_H | |
3 | ||
fdb551a4 RB |
4 | |
5 | #ifdef CONFIG_BUG | |
6 | ||
1da177e4 LT |
7 | #include <asm/break.h> |
8 | ||
9 | #define BUG() \ | |
10 | do { \ | |
11 | __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \ | |
12 | } while (0) | |
8592d4c0 RB |
13 | |
14 | #define HAVE_ARCH_BUG | |
1da177e4 | 15 | |
1da177e4 | 16 | #endif |
fdb551a4 | 17 | |
ffd099bd RB |
18 | #include <asm-generic/bug.h> |
19 | ||
fdb551a4 | 20 | #endif /* __ASM_BUG_H */ |