aboutsummaryrefslogtreecommitdiff
path: root/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'kvm')
-rw-r--r--kvm/user/test/x86/apic.c4
1 files changed, 2 insertions, 2 deletions
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);
}