aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorYong-Xuan Wang <[email protected]>2024-12-20 08:39:24 +0000
committerPalmer Dabbelt <[email protected]>2025-02-14 21:06:50 +0000
commit564fc8eb6f78e01292ff10801f318feae6153fdd (patch)
tree5aff7651e281e3da7308e86bba55ddf3e1409c0e /net/switchdev/switchdev.c
parentriscv: signal: fix signal frame size (diff)
downloadkernel-564fc8eb6f78e01292ff10801f318feae6153fdd.tar.gz
kernel-564fc8eb6f78e01292ff10801f318feae6153fdd.zip
riscv: signal: fix signal_minsigstksz
The init_rt_signal_env() funciton is called before the alternative patch is applied, so using the alternative-related API to check the availability of an extension within this function doesn't have the intended effect. This patch reorders the init_rt_signal_env() and apply_boot_alternatives() to get the correct signal_minsigstksz. Fixes: e92f469b0771 ("riscv: signal: Report signal frame size to userspace via auxv") Signed-off-by: Yong-Xuan Wang <[email protected]> Reviewed-by: Zong Li <[email protected]> Reviewed-by: Andy Chiu <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions