summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/kmem_layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/include/asm/kmem_layout.h')
-rw-r--r--arch/xtensa/include/asm/kmem_layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/kmem_layout.h b/arch/xtensa/include/asm/kmem_layout.h
index 28f9260a766c..2317c835a4db 100644
--- a/arch/xtensa/include/asm/kmem_layout.h
+++ b/arch/xtensa/include/asm/kmem_layout.h
@@ -71,7 +71,11 @@
#endif
+#ifndef CONFIG_KASAN
#define KERNEL_STACK_SHIFT 13
+#else
+#define KERNEL_STACK_SHIFT 15
+#endif
#define KERNEL_STACK_SIZE (1 << KERNEL_STACK_SHIFT)
#endif