summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/kdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/kdebug.h')
-rw-r--r--include/asm-sh/kdebug.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-sh/kdebug.h b/include/asm-sh/kdebug.h
new file mode 100644
index 00000000000..16578b7c9da
--- /dev/null
+++ b/include/asm-sh/kdebug.h
@@ -0,0 +1,15 @@
+#ifndef __ASM_SH_KDEBUG_H
+#define __ASM_SH_KDEBUG_H
+
+#include <linux/notifier.h>
+
+/* Grossly misnamed. */
+enum die_val {
+ DIE_TRAP,
+ DIE_PAGE_FAULT,
+};
+
+int register_page_fault_notifier(struct notifier_block *nb);
+int unregister_page_fault_notifier(struct notifier_block *nb);
+
+#endif /* __ASM_SH_KDEBUG_H */