e354a5
commit 82c80ac2ebf9acc81ec460adfd951d4884836c7c
e354a5
Author: H.J. Lu <hjl.tools@gmail.com>
e354a5
Date:   Wed Aug 1 04:57:34 2018 -0700
e354a5
e354a5
    x86: Rename get_common_indeces to get_common_indices
e354a5
    
e354a5
    Reviewed-by: Carlos O'Donell <carlos@redhat.com>
e354a5
    
e354a5
            * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
e354a5
            ...
e354a5
            (get_common_indices): This.
e354a5
            (init_cpu_features): Updated.
e354a5
e354a5
diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c
e354a5
index ac74f408343191b0..41f2d15fa5c8a756 100644
e354a5
--- a/sysdeps/x86/cpu-features.c
e354a5
+++ b/sysdeps/x86/cpu-features.c
e354a5
@@ -56,7 +56,7 @@ get_extended_indices (struct cpu_features *cpu_features)
e354a5
 }
e354a5
 
e354a5
 static void
e354a5
-get_common_indeces (struct cpu_features *cpu_features,
e354a5
+get_common_indices (struct cpu_features *cpu_features,
e354a5
 		    unsigned int *family, unsigned int *model,
e354a5
 		    unsigned int *extended_model, unsigned int *stepping)
e354a5
 {
e354a5
@@ -234,7 +234,7 @@ init_cpu_features (struct cpu_features *cpu_features)
e354a5
 
e354a5
       kind = arch_kind_intel;
e354a5
 
e354a5
-      get_common_indeces (cpu_features, &family, &model, &extended_model,
e354a5
+      get_common_indices (cpu_features, &family, &model, &extended_model,
e354a5
 			  &stepping);
e354a5
 
e354a5
       get_extended_indices (cpu_features);
e354a5
@@ -356,7 +356,7 @@ init_cpu_features (struct cpu_features *cpu_features)
e354a5
 
e354a5
       kind = arch_kind_amd;
e354a5
 
e354a5
-      get_common_indeces (cpu_features, &family, &model, &extended_model,
e354a5
+      get_common_indices (cpu_features, &family, &model, &extended_model,
e354a5
 			  &stepping);
e354a5
 
e354a5
       get_extended_indices (cpu_features);
e354a5
@@ -393,7 +393,7 @@ init_cpu_features (struct cpu_features *cpu_features)
e354a5
   else
e354a5
     {
e354a5
       kind = arch_kind_other;
e354a5
-      get_common_indeces (cpu_features, NULL, NULL, NULL, NULL);
e354a5
+      get_common_indices (cpu_features, NULL, NULL, NULL, NULL);
e354a5
     }
e354a5
 
e354a5
   /* Support i586 if CX8 is available.  */