Message ID | 1252933348-17002-3-git-send-email-avi@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/kvm/user/test/x86/apic.c b/kvm/user/test/x86/apic.c index 72dd963..fdeec4c 100644 --- a/kvm/user/test/x86/apic.c +++ b/kvm/user/test/x86/apic.c @@ -260,8 +260,8 @@ static void test_self_ipi(void) set_idt_entry(vec, self_ipi_isr); irq_enable(); - apic_write(APIC_ICR, - APIC_DEST_SELF | APIC_DEST_PHYSICAL | APIC_DM_FIXED | vec); + apic_icr_write(APIC_DEST_SELF | APIC_DEST_PHYSICAL | APIC_DM_FIXED | vec, + 0); asm volatile ("nop"); report("self ipi", ipi_count == 1); }
Signed-off-by: Avi Kivity <avi@redhat.com> --- kvm/user/test/x86/apic.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)