mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
Compare commits
2 Commits
336ef39adb
...
671d4eafcc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
671d4eafcc | ||
|
|
d4908b8eb8 |
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user