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