diff options
Diffstat (limited to 'sysdeps/x86/dl-get-cpu-features.c')
-rw-r--r-- | sysdeps/x86/dl-get-cpu-features.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/x86/dl-get-cpu-features.c b/sysdeps/x86/dl-get-cpu-features.c index 19fc4f1eeb..99e3aa7d04 100644 --- a/sysdeps/x86/dl-get-cpu-features.c +++ b/sysdeps/x86/dl-get-cpu-features.c @@ -43,12 +43,10 @@ __ifunc (__x86_cpu_features, __x86_cpu_features, NULL, void, _dl_x86_init_cpu_features); #endif -#undef __x86_get_cpu_features +#undef _dl_x86_get_cpu_features const struct cpu_features * -__x86_get_cpu_features (unsigned int max) +_dl_x86_get_cpu_features (void) { - if (max > COMMON_CPUID_INDEX_MAX) - return NULL; return &GLRO(dl_x86_cpu_features); } |