]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: Handle CONFIG_32BIT in syscall_get_arch()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 22 Apr 2026 07:45:11 +0000 (15:45 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 22 Apr 2026 07:45:11 +0000 (15:45 +0800)
commit1829419bc3b291ad9547abe70053c2620832ac41
tree76fd3607a8b9338fa482aff4223d0c09b7199d56
parent8b81576c16c0681b0c0148200a8c3ce33ad5f6fa
LoongArch: Handle CONFIG_32BIT in syscall_get_arch()

If CONFIG_32BIT is set, it should return AUDIT_ARCH_LOONGARCH32 instead
of AUDIT_ARCH_LOONGARCH64 in syscall_get_arch().

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/syscall.h