summaryrefslogtreecommitdiff
path: root/arch/h8300/include/asm/bug.h
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-05-11 02:20:06 +0900
committerYoshinori Sato <ysato@users.sourceforge.jp>2015-06-23 13:35:49 +0900
commitd2a5f4999f6c211adf30d9788349e13988d6f2a7 (patch)
tree95f6ef1d8b1d4e3e078e462cc3ae73a4b519bc53 /arch/h8300/include/asm/bug.h
parenta2ed0c57a546f5d99f795e97cd0b2769882031bc (diff)
h8300: Assembly headers
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/include/asm/bug.h')
-rw-r--r--arch/h8300/include/asm/bug.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/bug.h b/arch/h8300/include/asm/bug.h
new file mode 100644
index 000000000000..1e1be8119935
--- /dev/null
+++ b/arch/h8300/include/asm/bug.h
@@ -0,0 +1,12 @@
+#ifndef _H8300_BUG_H
+#define _H8300_BUG_H
+
+/* always true */
+#define is_valid_bugaddr(addr) (1)
+
+#include <asm-generic/bug.h>
+
+struct pt_regs;
+extern void die(const char *str, struct pt_regs *fp, unsigned long err);
+
+#endif