summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-11-19 22:31:03 +0100
committerHelge Deller <deller@gmx.de>2021-11-22 07:37:31 +0100
commit8d192bec534bd5b778135769a12e5f04580771f7 (patch)
tree9b6404dfcaaafcf02dfee22dfec591dfadf53700 /lib
parent136057256686de39cc3a07c2e39ef6bc43003ff6 (diff)
downloadlinux-8d192bec534bd5b778135769a12e5f04580771f7.tar.bz2
parisc: Increase FRAME_WARN to 2048 bytes on parisc
PA-RISC uses a much bigger frame size for functions than other architectures. So increase it to 2048 for 32- and 64-bit kernels. This fixes e.g. a warning in lib/xxhash.c. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 9ef7ce18b4f5..5c12bde10996 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -346,8 +346,9 @@ config FRAME_WARN
int "Warn for stack frames larger than"
range 0 8192
default 2048 if GCC_PLUGIN_LATENT_ENTROPY
- default 1536 if (!64BIT && (PARISC || XTENSA))
- default 1024 if (!64BIT && !PARISC)
+ default 2048 if PARISC
+ default 1536 if (!64BIT && XTENSA)
+ default 1024 if !64BIT
default 2048 if 64BIT
help
Tell gcc to warn at build time for stack frames larger than this.