Skip to content
Commit 0d329639 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

x86/apic: Add helpers to query current APIC state, e.g. xAPIC vs. x2APIC



Add helpers to query APIC state and use them to replace a bunch of open
coded instances.

No functional change intended.

Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221001011301.2077437-4-seanjc@google.com
parent 27cc2e49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment