mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
Always use the local APIC timer, even on UP machines.
This commit is contained in:
parent
c9ed75c153
commit
33b5f5b7e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145055
|
@ -335,10 +335,6 @@ lapic_setup_clock(void)
|
|||
if (lapic == NULL)
|
||||
return (0);
|
||||
|
||||
/* If we've only got one CPU, then use the RTC and ISA timer instead. */
|
||||
if (mp_ncpus == 1)
|
||||
return (0);
|
||||
|
||||
/* Start off with a divisor of 2 (power on reset default). */
|
||||
lapic_timer_divisor = 2;
|
||||
|
||||
|
|
|
@ -337,10 +337,6 @@ lapic_setup_clock(void)
|
|||
if (lapic == NULL)
|
||||
return (0);
|
||||
|
||||
/* If we've only got one CPU, then use the RTC and ISA timer instead. */
|
||||
if (mp_ncpus == 1)
|
||||
return (0);
|
||||
|
||||
/* Start off with a divisor of 2 (power on reset default). */
|
||||
lapic_timer_divisor = 2;
|
||||
|
||||
|
|
Loading…
Reference in a new issue