Commit 432654df authored by Helge Deller's avatar Helge Deller

parisc: Fix too large frame size warnings

The parisc architecture has larger stack frames than most other
architectures on 32-bit kernels.

Increase the maximum allowed stack frame to 1280 bytes for parisc to
avoid warnings in the do_sys_poll() and pat_memconfig() functions.
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 2bd6bf03
...@@ -219,7 +219,8 @@ config FRAME_WARN ...@@ -219,7 +219,8 @@ config FRAME_WARN
range 0 8192 range 0 8192
default 0 if KASAN default 0 if KASAN
default 2048 if GCC_PLUGIN_LATENT_ENTROPY default 2048 if GCC_PLUGIN_LATENT_ENTROPY
default 1024 if !64BIT default 1280 if (!64BIT && PARISC)
default 1024 if (!64BIT && !PARISC)
default 2048 if 64BIT default 2048 if 64BIT
help help
Tell gcc to warn at build time for stack frames larger than this. Tell gcc to warn at build time for stack frames larger than this.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment