PERFORCE change 137677 for review
Marcel Moolenaar
marcel at FreeBSD.org
Fri Mar 14 04:05:47 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=137677
Change 137677 by marcel at marcel_xcllnt on 2008/03/14 04:05:23
In mp_announce(), print the pc->pc_hwref (OFW phandle).
Always print in hex.
Affected files ...
.. //depot/projects/powerpc/sys/powerpc/powerpc/mp_machdep.c#16 edit
Differences ...
==== //depot/projects/powerpc/sys/powerpc/powerpc/mp_machdep.c#16 (text+ko) ====
@@ -140,7 +140,7 @@
pc = pcpu_find(i);
if (pc == NULL)
continue;
- printf("cpu%d", i);
+ printf("cpu%d: dev=%x", i, pc->pc_hwref);
if (pc->pc_bsp)
printf(" (BSP)");
printf("\n");
@@ -166,7 +166,7 @@
SLIST_FOREACH(pc, &cpuhead, pc_allcpu) {
cpus++;
if (!pc->pc_bsp) {
- printf("Waking up CPU %d (dev=%u)\n", pc->pc_cpuid,
+ printf("Waking up CPU %d (dev=%x)\n", pc->pc_cpuid,
pc->pc_hwref);
powerpc_smp_start_cpu(pc);
} else
More information about the p4-projects
mailing list