Skip to content

Commit b62b3b6

Browse files
author
Fox Snowpatch
committed
1 parent a85c72f commit b62b3b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/powerpc/xmon/xmon.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -2623,9 +2623,9 @@ static void dump_one_paca(int cpu)
26232623

26242624
printf("paca for cpu 0x%x @ %px:\n", cpu, p);
26252625

2626-
printf(" %-*s = %s\n", 25, "possible", cpu_possible(cpu) ? "yes" : "no");
2627-
printf(" %-*s = %s\n", 25, "present", cpu_present(cpu) ? "yes" : "no");
2628-
printf(" %-*s = %s\n", 25, "online", cpu_online(cpu) ? "yes" : "no");
2626+
printf(" %-*s = %s\n", 25, "possible", str_yes_no(cpu_possible(cpu)));
2627+
printf(" %-*s = %s\n", 25, "present", str_yes_no(cpu_present(cpu)));
2628+
printf(" %-*s = %s\n", 25, "online", str_yes_no(cpu_online(cpu)));
26292629

26302630
#define DUMP(paca, name, format) \
26312631
printf(" %-*s = "format"\t(0x%lx)\n", 25, #name, 18, paca->name, \

0 commit comments

Comments
 (0)