HomeFreeBSD

x86: Check for APIC presence only if DEV_ATPIC is defined

Description

x86: Check for APIC presence only if DEV_ATPIC is defined

We only attempt to gracefully handle absence of an APIC if "device
atpic" is defined in the kernel configuration.

Suggested by: kib
Reviewed by: jhb, kib
Sponsored by: The FreeBSD Foundation

(cherry picked from commit deca0138dc659747c9edd4648690cdfdb01f58e8)

Details

Provenance
markjAuthored on Dec 28 2021, 10:42 PM
Parents
rGe6d31b4b70f0: timecounter: Load the currently selected tc once in tc_windup()
Branches
Unknown
Tags
Unknown