Always use the local APIC timer, even on UP machines.
This commit is contained in:
parent
76cf7ca6e0
commit
557bef9d02
@ -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 New Issue
Block a user