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