diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index 30cb2194ffdb..a625f986681e 100644 --- a/sys/amd64/amd64/identcpu.c +++ b/sys/amd64/amd64/identcpu.c @@ -357,9 +357,10 @@ printcpuinfo(void) cpuid_count(4, 0, regs); cmp = ((regs[0] & 0xfc000000) >> 26) + 1; } + if (cmp > 1) + printf("\n Physical cores: %d", cmp); if (htt > 1) - printf("\n Physical/Logical cores: %d/%d", - cmp, htt); + printf("\n Logical cores: %d", htt); } } /* Avoid ugly blank lines: only print newline when we have to. */ diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index 72cda2868547..db01b1a8373e 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/identcpu.c @@ -847,9 +847,10 @@ printcpuinfo(void) cpuid_count(4, 0, regs); cmp = ((regs[0] & 0xfc000000) >> 26) + 1; } + if (cmp > 1) + printf("\n Physical cores: %d", cmp); if (htt > 1) - printf("\n Physical/Logical cores: %d/%d", - cmp, htt); + printf("\n Logical cores: %d", htt); } } else if (strcmp(cpu_vendor, "CyrixInstead") == 0) { printf(" DIR=0x%04x", cyrix_did);