| Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_BUG_H |
| 2 | #define __ASM_BUG_H | ||||
| 3 | |||||
| 4 | #include <asm/break.h> | ||||
| 5 | |||||
| 6 | #define BUG() \ | ||||
| 7 | do { \ | ||||
| 8 | __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \ | ||||
| 9 | } while (0) | ||||
| 10 | |||||
| 11 | #define HAVE_ARCH_BUG | ||||
| 12 | #include <asm-generic/bug.h> | ||||
| 13 | |||||
| 14 | #endif | ||||