Compare commits

...

2 Commits

Author SHA1 Message Date
Dom Cobley
671d4eafcc fixup! arch/arm64: Add Revision, Serial, Model to cpuinfo 2025-11-12 16:53:21 +00:00
Dom Cobley
d4908b8eb8 Revert "fixup! arch/arm64: Add Revision, Serial, Model to cpuinfo"
This reverts commit 336ef39adb.
2025-11-12 16:51:58 +00:00

View File

@@ -274,7 +274,7 @@ static int c_show(struct seq_file *m, void *v)
seq_printf(m, "CPU part\t: 0x%03x\n", MIDR_PARTNUM(midr));
seq_printf(m, "CPU revision\t: %d\n\n", MIDR_REVISION(midr));
if (m->index + 1 == nr_cpu_ids) {
if (cpumask_next(cpu, cpu_online_mask )>= nr_cpu_ids) {
struct device_node *np;
const char *model;
const char *serial;
@@ -298,6 +298,7 @@ static int c_show(struct seq_file *m, void *v)
of_node_put(np);
}
}
return 0;
}