diff options
Diffstat (limited to 'LoongArch-Update-hwcap.h-to-sync-with-LoongArch-kern.patch')
-rw-r--r-- | LoongArch-Update-hwcap.h-to-sync-with-LoongArch-kern.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/LoongArch-Update-hwcap.h-to-sync-with-LoongArch-kern.patch b/LoongArch-Update-hwcap.h-to-sync-with-LoongArch-kern.patch new file mode 100644 index 0000000..27ee625 --- /dev/null +++ b/LoongArch-Update-hwcap.h-to-sync-with-LoongArch-kern.patch @@ -0,0 +1,24 @@ +From 4828d1aa0028e819a5fb336d962e8f7cbfedf8b4 Mon Sep 17 00:00:00 2001 +From: caiyinyu <caiyinyu@loongson.cn> +Date: Mon, 23 Oct 2023 15:53:38 +0800 +Subject: [PATCH 28/29] LoongArch: Update hwcap.h to sync with LoongArch + kernel. + +Signed-off-by: Peng Fan <fanpeng@loongson.cn> +Signed-off-by: ticat_fp <fanpeng@loongson.cn> +--- + sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h b/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h +index 5104b69c..7acec23d 100644 +--- a/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h ++++ b/sysdeps/unix/sysv/linux/loongarch/bits/hwcap.h +@@ -35,3 +35,4 @@ + #define HWCAP_LOONGARCH_LBT_X86 (1 << 10) + #define HWCAP_LOONGARCH_LBT_ARM (1 << 11) + #define HWCAP_LOONGARCH_LBT_MIPS (1 << 12) ++#define HWCAP_LOONGARCH_PTW (1 << 13) +-- +2.33.0 + |