mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From b8b378bfe4e9d40d4e9801682147a845590da92e Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Sat, 13 Apr 2019 05:45:18 +0000
|
|
Subject: [PATCH 001/113] LOCAL: arm64: fix Kodi sysinfo CPU information
|
|
|
|
This allows the CPU information to show in the Kodi sysinfo screen, e.g.
|
|
|
|
"ARMv8 Processor rev 4 (v81)" on Amlogic devices
|
|
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
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 ba834909a28b..4384c894bb0f 100644
|
|
--- a/arch/arm64/kernel/cpuinfo.c
|
|
+++ b/arch/arm64/kernel/cpuinfo.c
|
|
@@ -223,9 +223,8 @@ static int c_show(struct seq_file *m, void *v)
|
|
* "processor". Give glibc what it expects.
|
|
*/
|
|
seq_printf(m, "processor\t: %d\n", cpu);
|
|
- 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),
|
|
--
|
|
2.34.1
|
|
|