aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorGlauber Costa <glommer@redhat.com>2009-04-29 17:29:09 -0400
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:50 -0400
commit9b5843ddd20557b77c73ddbcc814a8c816bf3d3a (patch)
treeaec862c5978c8f06d42f64d0dd91ed69896482c1 /arch/x86/kvm
parentefbc100c20f9dc4a219a2a92763d68e4064109f2 (diff)
KVM: fix apic_debug instances
Apparently nobody turned this on in a while... setting apic_debug to something compilable, generates some errors. This patch fixes it. Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/lapic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 4d76bb6c5e51..ae99d83f81a3 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -445,7 +445,7 @@ static void apic_send_ipi(struct kvm_lapic *apic)
445 apic_debug("icr_high 0x%x, icr_low 0x%x, " 445 apic_debug("icr_high 0x%x, icr_low 0x%x, "
446 "short_hand 0x%x, dest 0x%x, trig_mode 0x%x, level 0x%x, " 446 "short_hand 0x%x, dest 0x%x, trig_mode 0x%x, level 0x%x, "
447 "dest_mode 0x%x, delivery_mode 0x%x, vector 0x%x\n", 447 "dest_mode 0x%x, delivery_mode 0x%x, vector 0x%x\n",
448 icr_high, icr_low, irq.shorthand, irq.dest, 448 icr_high, icr_low, irq.shorthand, irq.dest_id,
449 irq.trig_mode, irq.level, irq.dest_mode, irq.delivery_mode, 449 irq.trig_mode, irq.level, irq.dest_mode, irq.delivery_mode,
450 irq.vector); 450 irq.vector);
451 451
@@ -560,7 +560,7 @@ static void update_divide_count(struct kvm_lapic *apic)
560 apic->divide_count = 0x1 << (tmp2 & 0x7); 560 apic->divide_count = 0x1 << (tmp2 & 0x7);
561 561
562 apic_debug("timer divide count is 0x%x\n", 562 apic_debug("timer divide count is 0x%x\n",
563 apic->lapic_timer.divide_count); 563 apic->divide_count);
564} 564}
565 565
566static void start_apic_timer(struct kvm_lapic *apic) 566static void start_apic_timer(struct kvm_lapic *apic)