about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/cpu-features.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b6fe639d56..58ce87749e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
+
+	* sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
+	Fix typo.
+
 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
 
 	* include/math.h (__signbitf128): Define as hidden.
diff --git a/sysdeps/unix/sysv/linux/aarch64/cpu-features.c b/sysdeps/unix/sysv/linux/aarch64/cpu-features.c
index 47c7d97185..0275d11c7f 100644
--- a/sysdeps/unix/sysv/linux/aarch64/cpu-features.c
+++ b/sysdeps/unix/sysv/linux/aarch64/cpu-features.c
@@ -53,7 +53,7 @@ init_cpu_features (struct cpu_features *cpu_features)
 
 #if HAVE_TUNABLES
   /* Get the tunable override.  */
-  const char *mcpu = TUNABLE_GET (glibc, tune, mcpu, const char *, NULL);
+  const char *mcpu = TUNABLE_GET (glibc, tune, cpu, const char *, NULL);
   if (mcpu != NULL)
     midr = get_midr_from_mcpu (mcpu);
 #endif