diff options
author | leyfoon.tan <leyfoon.tan@starfivetech.com> | 2025-01-13 10:06:13 +0300 |
---|---|---|
committer | leyfoon.tan <leyfoon.tan@starfivetech.com> | 2025-01-13 10:06:13 +0300 |
commit | aa7eaea608ab33b1f6b9ace31fe62ec582c90113 (patch) | |
tree | 68dfa665a4beb5c6f90665947f084b184b2bcd6b | |
parent | 022ef092212917073869766a6fbd58a7469e1d20 (diff) | |
parent | 500653e6f866bf01fce9ea80ab2bd3069ea92fb9 (diff) | |
download | linux-starfive-6.6.63-dubhe.tar.xz |
Merge branch 'starfive-6.6.63-dubhe-fix-hwprobe' into 'starfive-6.6.63-dubhe'REL_DUBHE_DEC2024starfive-6.6.63-dubhe
riscv: hwprobe: fix invalid sign extension for RISCV_HWPROBE_EXT_ZVFHMIN
See merge request starfive-tech/linux!675
-rw-r--r-- | arch/riscv/include/uapi/asm/hwprobe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/uapi/asm/hwprobe.h b/arch/riscv/include/uapi/asm/hwprobe.h index c1f8b787fff3..920003040f3d 100644 --- a/arch/riscv/include/uapi/asm/hwprobe.h +++ b/arch/riscv/include/uapi/asm/hwprobe.h @@ -54,7 +54,7 @@ struct riscv_hwprobe { #define RISCV_HWPROBE_EXT_ZFHMIN (1 << 28) #define RISCV_HWPROBE_EXT_ZIHINTNTL (1 << 29) #define RISCV_HWPROBE_EXT_ZVFH (1 << 30) -#define RISCV_HWPROBE_EXT_ZVFHMIN (1 << 31) +#define RISCV_HWPROBE_EXT_ZVFHMIN (1ULL << 31) #define RISCV_HWPROBE_EXT_ZFA (1ULL << 32) #define RISCV_HWPROBE_EXT_ZTSO (1ULL << 33) #define RISCV_HWPROBE_EXT_ZACAS (1ULL << 34) |