aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/dl-hwcaps-subdirs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/dl-hwcaps-subdirs.c')
-rw-r--r--sysdeps/x86_64/dl-hwcaps-subdirs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/x86_64/dl-hwcaps-subdirs.c b/sysdeps/x86_64/dl-hwcaps-subdirs.c
index 4acd343183..b8f27d7f98 100644
--- a/sysdeps/x86_64/dl-hwcaps-subdirs.c
+++ b/sysdeps/x86_64/dl-hwcaps-subdirs.c
@@ -27,8 +27,7 @@ enum { subdirs_count = 3 }; /* Number of components in _dl_hwcaps_subdirs. */
uint32_t
_dl_hwcaps_subdirs_active (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);
int active = 0;