Skip to content
Commit df563aef authored by Sean Christopherson's avatar Sean Christopherson Committed by Paolo Bonzini
Browse files

x86: apic: Make xAPIC and I/O APIC pointers static



Make the pointers to the xAPIC and I/O APIC static as there are no users
outside of apic.c.  Opportunistically use #defines for the default values
instead of open coding magic numbers.

No functional change intended.

Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
Message-Id: <20220121231852.1439917-9-seanjc@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 2d18ccd3
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