From d5bc9d7beea14aafbbbcbdd80156ad4a68b2bd97 Mon Sep 17 00:00:00 2001 From: Wayne Ren Date: Mon, 11 Jun 2018 13:00:24 +0800 Subject: [PATCH] arch: arc: adjust privileged stack size of arc to 384 bytes Considering the case of call of printk, interrupt and other cases, adjust the privileged stack size of arc to 384 bytes to avoid the the overflow of privileged stack. Signed-off-by: Wayne Ren --- arch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/Kconfig b/arch/Kconfig index ebea0b230dc..96e8e22994e 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -82,6 +82,7 @@ config USERSPACE config PRIVILEGED_STACK_SIZE int "Size of privileged stack" default 256 + default 384 if ARC depends on ARCH_HAS_USERSPACE help This option sets the privileged stack region size that will be used