Commit 4df1d044 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: print cpus in hex since we ask for them in hex

parent eccab90c
...@@ -734,7 +734,7 @@ static void cpu_cmd(void) ...@@ -734,7 +734,7 @@ static void cpu_cmd(void)
printf("cpus stopped:"); printf("cpus stopped:");
for (cpu = 0; cpu < NR_CPUS; ++cpu) { for (cpu = 0; cpu < NR_CPUS; ++cpu) {
if (test_bit(cpu, &cpus_in_xmon)) { if (test_bit(cpu, &cpus_in_xmon)) {
printf(" %d", cpu); printf(" %x", cpu);
if (cpu == smp_processor_id()) if (cpu == smp_processor_id())
printf("*", cpu); printf("*", cpu);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment