diff options
author | luoqi <luoqi@FreeBSD.org> | 1999-09-22 21:21:53 +0000 |
---|---|---|
committer | luoqi <luoqi@FreeBSD.org> | 1999-09-22 21:21:53 +0000 |
commit | 281b40fc44c46bed28647a790db44cc6b5f02992 (patch) | |
tree | f4725798bf534f1b58d8cdc4e98b04736f75f07c /sys | |
parent | 760dea228a48417648ff2d882e90751a5096a519 (diff) | |
download | FreeBSD-src-281b40fc44c46bed28647a790db44cc6b5f02992.zip FreeBSD-src-281b40fc44c46bed28647a790db44cc6b5f02992.tar.gz |
Display CPU (BSP) clock speed on SMP systems.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/identcpu.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/identcpu.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/amd64/amd64/identcpu.c b/sys/amd64/amd64/identcpu.c index 63a0560..9f73a96 100644 --- a/sys/amd64/amd64/identcpu.c +++ b/sys/amd64/amd64/identcpu.c @@ -506,21 +506,17 @@ printcpuinfo(void) #endif #if defined(I586_CPU) case CPUCLASS_586: -#ifndef SMP printf("%d.%02d-MHz ", (tsc_freq + 4999) / 1000000, ((tsc_freq + 4999) / 10000) % 100); -#endif printf("586"); break; #endif #if defined(I686_CPU) case CPUCLASS_686: -#ifndef SMP printf("%d.%02d-MHz ", (tsc_freq + 4999) / 1000000, ((tsc_freq + 4999) / 10000) % 100); -#endif printf("686"); break; #endif diff --git a/sys/i386/i386/identcpu.c b/sys/i386/i386/identcpu.c index 63a0560..9f73a96 100644 --- a/sys/i386/i386/identcpu.c +++ b/sys/i386/i386/identcpu.c @@ -506,21 +506,17 @@ printcpuinfo(void) #endif #if defined(I586_CPU) case CPUCLASS_586: -#ifndef SMP printf("%d.%02d-MHz ", (tsc_freq + 4999) / 1000000, ((tsc_freq + 4999) / 10000) % 100); -#endif printf("586"); break; #endif #if defined(I686_CPU) case CPUCLASS_686: -#ifndef SMP printf("%d.%02d-MHz ", (tsc_freq + 4999) / 1000000, ((tsc_freq + 4999) / 10000) % 100); -#endif printf("686"); break; #endif |