]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: Fix SYM_SIGFUNC_START definition for 32BIT
authorHuacai Chen <chenhuacai@loongson.cn>
Mon, 4 May 2026 01:00:01 +0000 (09:00 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 4 May 2026 01:00:01 +0000 (09:00 +0800)
commit98b8aebb14fdc0133939fd8fe07d0d98333dc976
tree5a651bc06192131614342538e85ee6866427b253
parent5643c6b2c8308b206cb01cbfd0e6ac80f9f1bc9a
LoongArch: Fix SYM_SIGFUNC_START definition for 32BIT

The SYM_SIGFUNC_START definition should match sigcontext that the length
of GPRs are 8 bytes for both 32BIT and 64BIT. So replace SZREG with 8 to
fix it.

Cc: stable@vger.kernel.org
Fixes: e4878c37f6679fde ("LoongArch: vDSO: Emit GNU_EH_FRAME correctly")
Suggested-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/linkage.h