From bafdb3fd2e6891d2bf89dba8acc75dc1fd723fb1 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Wed, 16 Sep 2009 12:25:52 +0300 Subject: test: use new apic_icr_write() to issue IPI Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- kvm/user/test/x86/apic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvm') diff --git a/kvm/user/test/x86/apic.c b/kvm/user/test/x86/apic.c index 72dd963f3..fdeec4c5e 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); } -- cgit v1.2.3-65-gdbad