Skip to content

Commit 0ea05c4

Browse files
RevySRPaul Walmsley
authored andcommitted
riscv: compat: fix COMPAT_UTS_MACHINE definition
The COMPAT_UTS_MACHINE for riscv was incorrectly defined as "riscv". Change it to "riscv32" to reflect the correct 32-bit compat name. Fixes: 06d0e37 ("riscv: compat: Add basic compat data type implementation") Cc: stable@vger.kernel.org Signed-off-by: Han Gao <gaohan@iscas.ac.cn> Reviewed-by: Guo Ren (Alibaba Damo Academy) <guoren@kernel.org> Link: https://patch.msgid.link/20260127190711.2264664-1-gaohan@iscas.ac.cn Signed-off-by: Paul Walmsley <pjw@kernel.org>
1 parent 28a12ef commit 0ea05c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/riscv/include/asm/compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifndef __ASM_COMPAT_H
33
#define __ASM_COMPAT_H
44

5-
#define COMPAT_UTS_MACHINE "riscv\0\0"
5+
#define COMPAT_UTS_MACHINE "riscv32\0\0"
66

77
/*
88
* Architecture specific compatibility types

0 commit comments

Comments
 (0)