Message ID | 1253093169-1423-23-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 504def2..63d326d 100644 --- a/kvm/user/test/x86/apic.c +++ b/kvm/user/test/x86/apic.c @@ -426,8 +426,8 @@ int main() { setup_vm(); - g_apic = vmap(0xfee00000, 0x1000); - g_ioapic = vmap(0xfec00000, 0x1000); + g_apic = (void *)0xfee00000; + g_ioapic = (void *)0xfec00000; test_lapic_existence();
This allows the apic code to be run early, before virtual memory is set up. Signed-off-by: Avi Kivity <avi@redhat.com> --- kvm/user/test/x86/apic.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)