summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mn10300/include/asm/exceptions.h')
-rw-r--r--arch/mn10300/include/asm/exceptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/exceptions.h b/arch/mn10300/include/asm/exceptions.h
index 7d8080b..ca3e205 100644
--- a/arch/mn10300/include/asm/exceptions.h
+++ b/arch/mn10300/include/asm/exceptions.h
@@ -114,6 +114,8 @@ extern void die(const char *, struct pt_regs *, enum exception_code)
extern int die_if_no_fixup(const char *, struct pt_regs *, enum exception_code);
+#define NUM2EXCEP_IRQ_LEVEL(num) (EXCEP_IRQ_LEVEL0 + (num) * 8)
+
#endif /* __ASSEMBLY__ */
#endif /* _ASM_EXCEPTIONS_H */
OpenPOWER on IntegriCloud