about summary refs log tree commit diff
path: root/sysdeps/x86_64/tst-glibc-hwcaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/tst-glibc-hwcaps.c')
-rw-r--r--sysdeps/x86_64/tst-glibc-hwcaps.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/x86_64/tst-glibc-hwcaps.c b/sysdeps/x86_64/tst-glibc-hwcaps.c
index 37b61d3c84..4c8d24b3f2 100644
--- a/sysdeps/x86_64/tst-glibc-hwcaps.c
+++ b/sysdeps/x86_64/tst-glibc-hwcaps.c
@@ -30,8 +30,7 @@ extern int marker4 (void);
 static int
 compute_level (void)
 {
-  const struct cpu_features *cpu_features
-    = __x86_get_cpu_features (COMMON_CPUID_INDEX_MAX);
+  const struct cpu_features *cpu_features = __get_cpu_features ();
   unsigned int isa_level = get_isa_level (cpu_features);
 
   if (!(isa_level & GNU_PROPERTY_X86_ISA_1_V2))