blob: 98e5ab6aba5e18de85a08a9f6d4ceca2a61e9f1c [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001Index: linux-5.4.70/arch/arm64/kernel/cpuinfo.c
2===================================================================
3--- linux-5.4.70.orig/arch/arm64/kernel/cpuinfo.c
4+++ linux-5.4.70/arch/arm64/kernel/cpuinfo.c
5@@ -139,9 +139,8 @@ static int c_show(struct seq_file *m, vo
6 * "processor". Give glibc what it expects.
7 */
8 seq_printf(m, "processor\t: %d\n", i);
9- if (compat)
10- seq_printf(m, "model name\t: ARMv8 Processor rev %d (%s)\n",
11- MIDR_REVISION(midr), COMPAT_ELF_PLATFORM);
12+ seq_printf(m, "model name\t: ARMv8 Processor rev %d (%s)\n",
13+ MIDR_REVISION(midr), COMPAT_ELF_PLATFORM);
14
15 seq_printf(m, "BogoMIPS\t: %lu.%02lu\n",
16 loops_per_jiffy / (500000UL/HZ),