]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: add apic->eoi_write callback
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Apr 2012 09:50:03 +0000 (12:50 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Apr 2012 20:00:06 +0000 (23:00 +0300)
commit26de31f2c372745dd2ceeb991278a9aeb50673e4
treeb3971a2ca27c6876766f37a331ba98e90b7f90e3
parent163b773ea778c591c03e7b19ea7284db045317a5
x86: add apic->eoi_write callback

Add eoi_write callback so that kvm can override
eoi accesses without touching the rest of the apic.
As a side-effect, this will enable a micro-optimization
for apics using msr.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
12 files changed:
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic_flat_64.c
arch/x86/kernel/apic/apic_noop.c
arch/x86/kernel/apic/apic_numachip.c
arch/x86/kernel/apic/bigsmp_32.c
arch/x86/kernel/apic/es7000_32.c
arch/x86/kernel/apic/numaq_32.c
arch/x86/kernel/apic/probe_32.c
arch/x86/kernel/apic/summit_32.c
arch/x86/kernel/apic/x2apic_cluster.c
arch/x86/kernel/apic/x2apic_phys.c
arch/x86/kernel/apic/x2apic_uv_x.c