x86: Don't use dl_x86_cpu_features in cacheinfo.c
commit48e7bc7a55ff758435e940d4f3def24acfe52cb8
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 5 Jun 2017 23:20:00 +0000 (5 16:20 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 5 Jun 2017 23:20:11 +0000 (5 16:20 -0700)
treee304efc69495073d6c5f5ae9903e011156175f9a
parent935971ba6b4eaf67a34e4651434ba9b61e7355cc
x86: Don't use dl_x86_cpu_features in cacheinfo.c

Since cpu_features is available, use it instead of dl_x86_cpu_features.

* sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
and use it instead of dl_x86_cpu_features.
(handle_intel): Replace maxidx with cpu_features.  Pass
cpu_features to intel_check_word.
(__cache_sysconf): Pass cpu_features to handle_intel.
(init_cacheinfo): Likewise.  Use cpu_features instead of
dl_x86_cpu_features.
ChangeLog
sysdeps/x86/cacheinfo.c