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