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 0000000..eb94bb9
--- /dev/null
+++ b/include/asm-mips/bug.h
@@ -0,0 +1,14 @@
+#ifndef __ASM_BUG_H
+#define __ASM_BUG_H
+
+#include <asm/break.h>
+
+#define BUG() \
+do { \
+ __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \
+} while (0)
+
+#define HAVE_ARCH_BUG
+#include <asm-generic/bug.h>
+
+#endif