diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2018-08-01 04:57:34 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-08-01 04:57:50 -0700 |
commit | 82c80ac2ebf9acc81ec460adfd951d4884836c7c (patch) | |
tree | 829563f588b0fd3200e71c88a2a430219ee391ec | |
parent | 46f8cf57122c5ec91415c7a8ded3b3f76b4d4610 (diff) | |
download | glibc-82c80ac2ebf9acc81ec460adfd951d4884836c7c.tar.gz glibc-82c80ac2ebf9acc81ec460adfd951d4884836c7c.tar.xz glibc-82c80ac2ebf9acc81ec460adfd951d4884836c7c.zip |
x86: Rename get_common_indeces to get_common_indices
Reviewed-by: Carlos O'Donell <carlos@redhat.com> * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to ... (get_common_indices): This. (init_cpu_features): Updated.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | sysdeps/x86/cpu-features.c | 8 |
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index c724d7dadc..20d61ee5aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-08-01 H.J. Lu <hongjiu.lu@intel.com> + + * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to + ... + (get_common_indices): This. + (init_cpu_features): Updated. + 2018-08-01 Joseph Myers <joseph@codesourcery.com> * sysdeps/generic/math-tests-snan-payload.h: New file. diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c index ea0b64fdb9..51642f8b6a 100644 --- a/sysdeps/x86/cpu-features.c +++ b/sysdeps/x86/cpu-features.c @@ -57,7 +57,7 @@ get_extended_indices (struct cpu_features *cpu_features) } static void -get_common_indeces (struct cpu_features *cpu_features, +get_common_indices (struct cpu_features *cpu_features, unsigned int *family, unsigned int *model, unsigned int *extended_model, unsigned int *stepping) { @@ -235,7 +235,7 @@ init_cpu_features (struct cpu_features *cpu_features) kind = arch_kind_intel; - get_common_indeces (cpu_features, &family, &model, &extended_model, + get_common_indices (cpu_features, &family, &model, &extended_model, &stepping); get_extended_indices (cpu_features); @@ -351,7 +351,7 @@ init_cpu_features (struct cpu_features *cpu_features) kind = arch_kind_amd; - get_common_indeces (cpu_features, &family, &model, &extended_model, + get_common_indices (cpu_features, &family, &model, &extended_model, &stepping); get_extended_indices (cpu_features); @@ -388,7 +388,7 @@ init_cpu_features (struct cpu_features *cpu_features) else { kind = arch_kind_other; - get_common_indeces (cpu_features, NULL, NULL, NULL, NULL); + get_common_indices (cpu_features, NULL, NULL, NULL, NULL); } /* Support i586 if CX8 is available. */ |