Only use the i8254 delay code if we are specifically using the i8254 as
authorpatrick <patrick@openbsd.org>
Tue, 31 Aug 2021 15:53:36 +0000 (15:53 +0000)
committerpatrick <patrick@openbsd.org>
Tue, 31 Aug 2021 15:53:36 +0000 (15:53 +0000)
commitcb4321e8e519b38522ec6de950df3f59e9d210a0
treedf1d5f8e33ecfbc5bdef31ef0e21a3a25572f740
parent1d2c60d6345a6b81c5bfd559daf413c6669f6d28
Only use the i8254 delay code if we are specifically using the i8254 as
delay func.  Otherwise simply delay for a second to calibrate the LAPIC.
Install the lapic delay func only if we were using the i8254 before as
delay func.

Discussed with the hackroom
ok kettenis@
sys/arch/amd64/amd64/lapic.c