summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/kdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/kdebug.h')
-rw-r--r--arch/loongarch/include/asm/kdebug.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/kdebug.h b/arch/loongarch/include/asm/kdebug.h
new file mode 100644
index 0000000000..c00ed874bf
--- /dev/null
+++ b/arch/loongarch/include/asm/kdebug.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
+ */
+#ifndef _ASM_LOONGARCH_KDEBUG_H
+#define _ASM_LOONGARCH_KDEBUG_H
+
+#include <linux/notifier.h>
+
+enum die_val {
+ DIE_OOPS = 1,
+ DIE_RI,
+ DIE_FP,
+ DIE_SIMD,
+ DIE_TRAP,
+};
+
+#endif /* _ASM_LOONGARCH_KDEBUG_H */