Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8fafe2a authored by Helge Deller's avatar Helge Deller Committed by Greg Kroah-Hartman
Browse files

parisc: Increase FRAME_WARN to 2048 bytes on parisc



[ Upstream commit 8d192bec534bd5b778135769a12e5f04580771f7 ]

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: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Stable-dep-of: 152fe65f300e ("Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 854983fd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -224,8 +224,9 @@ config FRAME_WARN
	range 0 8192
	default 3072 if KASAN_EXTRA
	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.