30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: graysky <graysky@archlinux.us>
|
|
Date: Mon, 7 Dec 2020 13:03:40 -0500
|
|
Subject: Make /proc/cpuinfo consistent on arm64 and arm
|
|
|
|
Signed-off-by: graysky <graysky@archlinux.us>
|
|
---
|
|
arch/arm64/kernel/cpuinfo.c | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c
|
|
index ee36fa8be3af..049bdca2655c 100644
|
|
--- a/arch/arm64/kernel/cpuinfo.c
|
|
+++ b/arch/arm64/kernel/cpuinfo.c
|
|
@@ -193,9 +193,8 @@ static int c_show(struct seq_file *m, void *v)
|
|
* "processor". Give glibc what it expects.
|
|
*/
|
|
seq_printf(m, "processor\t: %d\n", i);
|
|
- if (compat)
|
|
- seq_printf(m, "model name\t: ARMv8 Processor rev %d (%s)\n",
|
|
- MIDR_REVISION(midr), COMPAT_ELF_PLATFORM);
|
|
+ seq_printf(m, "model name\t: ARMv8 Processor rev %d (%s)\n",
|
|
+ MIDR_REVISION(midr), COMPAT_ELF_PLATFORM);
|
|
|
|
seq_printf(m, "BogoMIPS\t: %lu.%02lu\n",
|
|
loops_per_jiffy / (500000UL/HZ),
|
|
--
|
|
Armbian
|
|
|