Skip to content

Commit d5bc9d7

Browse files
Wayne RenMaureenHelm
authored andcommitted
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 <[email protected]>
1 parent 97d0436 commit d5bc9d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ config USERSPACE
8282
config PRIVILEGED_STACK_SIZE
8383
int "Size of privileged stack"
8484
default 256
85+
default 384 if ARC
8586
depends on ARCH_HAS_USERSPACE
8687
help
8788
This option sets the privileged stack region size that will be used

0 commit comments

Comments
 (0)