diff options
Diffstat (limited to '0001-Make-proc-cpuinfo-consistent-on-arm64-and-arm.patch')
-rw-r--r-- | 0001-Make-proc-cpuinfo-consistent-on-arm64-and-arm.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/0001-Make-proc-cpuinfo-consistent-on-arm64-and-arm.patch b/0001-Make-proc-cpuinfo-consistent-on-arm64-and-arm.patch new file mode 100644 index 000000000000..4b2e24fe1bf3 --- /dev/null +++ b/0001-Make-proc-cpuinfo-consistent-on-arm64-and-arm.patch @@ -0,0 +1,29 @@ +From 988f69b247fa3a1b70876395342aeb8c7dc2e834 Mon Sep 17 00:00:00 2001 +From: graysky <graysky@archlinux.us> +Date: Mon, 7 Dec 2020 13:03:40 -0500 +Subject: [PATCH] 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 721350d21074..88e2b8fcd7e6 100644 +--- a/arch/arm64/kernel/cpuinfo.c ++++ b/arch/arm64/kernel/cpuinfo.c +@@ -153,9 +153,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), +-- +2.29.2 + |