about summary refs log tree commit diff
path: root/sysdeps/x86/tst-get-cpu-features.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2023-04-05 09:21:29 -0700
committerH.J. Lu <hjl.tools@gmail.com>2023-04-05 14:46:10 -0700
commit09cc5fee2165c7be14907e6597373b0cd35803f3 (patch)
treea2bcc80f3bfbb18503be8a0e6041e5a2359a70ff /sysdeps/x86/tst-get-cpu-features.c
parent8c8e39116604fcd1101658f31dd136754a4aca6e (diff)
downloadglibc-09cc5fee2165c7be14907e6597373b0cd35803f3.tar.gz
glibc-09cc5fee2165c7be14907e6597373b0cd35803f3.tar.xz
glibc-09cc5fee2165c7be14907e6597373b0cd35803f3.zip
<sys/platform/x86.h>: Add BUS_LOCK_DETECT support
Add Bus lock debug exceptions (BUS_LOCK_DETECT) support to
<sys/platform/x86.h>.
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'sysdeps/x86/tst-get-cpu-features.c')
-rw-r--r--sysdeps/x86/tst-get-cpu-features.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/tst-get-cpu-features.c b/sysdeps/x86/tst-get-cpu-features.c
index 5f5cd3e448..dcb735ddd6 100644
--- a/sysdeps/x86/tst-get-cpu-features.c
+++ b/sysdeps/x86/tst-get-cpu-features.c
@@ -147,6 +147,7 @@ do_test (void)
   CHECK_CPU_FEATURE_PRESENT (LA57);
   CHECK_CPU_FEATURE_PRESENT (RDPID);
   CHECK_CPU_FEATURE_PRESENT (KL);
+  CHECK_CPU_FEATURE_PRESENT (BUS_LOCK_DETECT);
   CHECK_CPU_FEATURE_PRESENT (CLDEMOTE);
   CHECK_CPU_FEATURE_PRESENT (MOVDIRI);
   CHECK_CPU_FEATURE_PRESENT (MOVDIR64B);