developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | Index: 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), |