summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-07-07 15:38:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-12-08 11:23:05 +0100
commit76f48511a1c88d680e08ab7a52d61b9a62a4e66b (patch)
treed6c38198ca807d9abd46e1fff71f994c06e6af3b /lib
parentcbdd83bd2fd67142b03ce9dbdd1eab322ff7321f (diff)
downloadlinux-stable-76f48511a1c88d680e08ab7a52d61b9a62a4e66b.tar.gz
linux-stable-76f48511a1c88d680e08ab7a52d61b9a62a4e66b.tar.bz2
linux-stable-76f48511a1c88d680e08ab7a52d61b9a62a4e66b.zip
parisc: Increase size of gcc stack frame check
[ Upstream commit 55b70eed81cba1331773d4aaf5cba2bb07475cd8 ] parisc uses much bigger frames than other architectures, so increase the stack frame check value to avoid compiler warnings. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Abd-Alrhman Masalkhi <abd.masalkhi@gmail.com> Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Helge Deller <deller@gmx.de> Stable-dep-of: 152fe65f300e ("Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index b3d0d047369c..f610b47b74cc 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -253,7 +253,7 @@ config FRAME_WARN
int "Warn for stack frames larger than (needs gcc 4.4)"
range 0 8192
default 2048 if GCC_PLUGIN_LATENT_ENTROPY
- default 1280 if (!64BIT && PARISC)
+ default 1536 if (!64BIT && PARISC)
default 1024 if (!64BIT && !PARISC)
default 2048 if 64BIT
help