aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/bug.h')
-rw-r--r--include/asm-mips/bug.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-mips/bug.h b/include/asm-mips/bug.h
new file mode 100644
index 000000000000..eb94bb96cfbc
--- /dev/null
+++ b/include/asm-mips/bug.h
@@ -0,0 +1,14 @@
1#ifndef __ASM_BUG_H
2#define __ASM_BUG_H
3
4#include <asm/break.h>
5
6#define BUG() \
7do { \
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