]> err.no Git - linux-2.6/blob - include/asm-mips/bug.h
A few more macros to access MIPS R2 architecture registers.
[linux-2.6] / include / asm-mips / bug.h
1 #ifndef __ASM_BUG_H
2 #define __ASM_BUG_H
3
4 #include <linux/config.h>
5
6 #ifdef CONFIG_BUG
7
8 #include <asm/break.h>
9
10 #ifdef CONFIG_BUG
11 #define HAVE_ARCH_BUG
12 #define BUG()                                                           \
13 do {                                                                    \
14         __asm__ __volatile__("break %0" : : "i" (BRK_BUG));             \
15 } while (0)
16 #endif
17
18 #endif
19
20 #include <asm-generic/bug.h>
21
22 #endif /* __ASM_BUG_H */