unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 93ab3092e982935d2a0c7d40aba02bc534c5a8b4 1103 bytes (raw)
name: gnu/packages/patches/amlogic-0003-LOCAL-arm64-fix-Kodi-sysinfo-CPU-information.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
From b0f2464452ed2c0cf69e2dee5a1c054fa1b0e6cc Mon Sep 17 00:00:00 2001
From: Christian Hewitt <christianshewitt@gmail.com>
Date: Sat, 13 Apr 2019 05:45:18 +0000
Subject: [PATCH 03/73] 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 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c
index d7702f39b4d3..4b6ac49e34b4 100644
--- a/arch/arm64/kernel/cpuinfo.c
+++ b/arch/arm64/kernel/cpuinfo.c
@@ -169,8 +169,7 @@ 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",
+		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",
-- 
2.17.1


debug log:

solving 93ab3092e9 ...
found 93ab3092e9 in https://yhetil.org/guix-patches/C2ORkCSHJz-4jxwCauZznk4tZlP9KS4u_3Ywe4q2QrfJ7tvIswRWw4vX6OuzXDIHRriNNTQaCiYC67GgL30p8g80J9OcduCgaoZ8XNf-amE=@protonmail.com/

applying [1/1] https://yhetil.org/guix-patches/C2ORkCSHJz-4jxwCauZznk4tZlP9KS4u_3Ywe4q2QrfJ7tvIswRWw4vX6OuzXDIHRriNNTQaCiYC67GgL30p8g80J9OcduCgaoZ8XNf-amE=@protonmail.com/
diff --git a/gnu/packages/patches/amlogic-0003-LOCAL-arm64-fix-Kodi-sysinfo-CPU-information.patch b/gnu/packages/patches/amlogic-0003-LOCAL-arm64-fix-Kodi-sysinfo-CPU-information.patch
new file mode 100644
index 0000000000..93ab3092e9

1:26: space before tab in indent.
 		 * "processor".  Give glibc what it expects.
1:27: space before tab in indent.
 		 */
1:28: space before tab in indent.
 		seq_printf(m, "processor\t: %d\n", i);
1:32: space before tab in indent.
 				   MIDR_REVISION(midr), COMPAT_ELF_PLATFORM);
1:33: trailing whitespace.
 
Checking patch gnu/packages/patches/amlogic-0003-LOCAL-arm64-fix-Kodi-sysinfo-CPU-information.patch...
Applied patch gnu/packages/patches/amlogic-0003-LOCAL-arm64-fix-Kodi-sysinfo-CPU-information.patch cleanly.
warning: squelched 3 whitespace errors
warning: 8 lines add whitespace errors.

index at:
100644 93ab3092e982935d2a0c7d40aba02bc534c5a8b4	gnu/packages/patches/amlogic-0003-LOCAL-arm64-fix-Kodi-sysinfo-CPU-information.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).