summaryrefslogtreecommitdiff
path: root/LoongArch-Update-hwcap.h-to-sync-with-LoongArch-kern.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-10-09 03:36:26 +0000
committerCoprDistGit <infra@openeuler.org>2024-10-09 03:36:26 +0000
commitdb43dfdfa8bc2b938582aef3d87e43594c13ee50 (patch)
tree47b95b2f6ac8d8b7e6fa373a5bd7d661bf7234df /LoongArch-Update-hwcap.h-to-sync-with-LoongArch-kern.patch
parentb933872de72b006230559f77acc3ccfb38a1f343 (diff)
automatic import of glibcopeneuler20.03
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.patch24
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
+