We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32a1bda commit f1aa0e4Copy full SHA for f1aa0e4
arch/powerpc/xmon/xmon.c
@@ -2817,12 +2817,12 @@ static void dump_all_xives(void)
2817
{
2818
int cpu;
2819
2820
- if (num_possible_cpus() == 0) {
+ if (num_online_cpus() == 0) {
2821
printf("No possible cpus, use 'dx #' to dump individual cpus\n");
2822
return;
2823
}
2824
2825
- for_each_possible_cpu(cpu)
+ for_each_online_cpu(cpu)
2826
dump_one_xive(cpu);
2827
2828
0 commit comments