Display CPU (BSP) clock speed on SMP systems.

This commit is contained in:
Luoqi Chen 1999-09-22 21:21:53 +00:00
parent 04a2253821
commit cfca102355
2 changed files with 0 additions and 8 deletions

View file

@ -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

View file

@ -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