summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/include/asm/exceptions.h')
-rw-r--r--arch/microblaze/include/asm/exceptions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/exceptions.h b/arch/microblaze/include/asm/exceptions.h
index 4c7b5d037c88..fa0e36657fdd 100644
--- a/arch/microblaze/include/asm/exceptions.h
+++ b/arch/microblaze/include/asm/exceptions.h
@@ -14,6 +14,11 @@
#define _ASM_MICROBLAZE_EXCEPTIONS_H
#ifdef __KERNEL__
+
+#ifndef CONFIG_MMU
+#define EX_HANDLER_STACK_SIZ (4*19)
+#endif
+
#ifndef __ASSEMBLY__
/* Macros to enable and disable HW exceptions in the MSR */