Skip to content

Commit 8670502

Browse files
groecktorvalds
authored andcommitted
xtensa: increase size of gcc stack frame check
xtensa frame size is larger than the frame size for almost all other architectures. This results in more than 50 "the frame size of <n> is larger than 1024 bytes" errors when trying to build xtensa:allmodconfig. Increase frame size for xtensa to 1536 bytes to avoid compile errors due to frame size limits. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Reviewed-by: Max Filippov <[email protected]> Cc: Chris Zankel <[email protected]> Cc: David Laight <[email protected]> Cc: Masahiro Yamada <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 892ab4b commit 8670502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Kconfig.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ config FRAME_WARN
346346
int "Warn for stack frames larger than"
347347
range 0 8192
348348
default 2048 if GCC_PLUGIN_LATENT_ENTROPY
349-
default 1536 if (!64BIT && PARISC)
349+
default 1536 if (!64BIT && (PARISC || XTENSA))
350350
default 1024 if (!64BIT && !PARISC)
351351
default 2048 if 64BIT
352352
help

0 commit comments

Comments
 (0)