diff options
author | Mike Day <ncmike@ncultra.org> | 2007-10-08 09:02:08 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:52:50 -0500 |
commit | d77c26fce93d07802db97498959587eb9347b31d (patch) | |
tree | ed49397152d9a8c2ce3dda751a235283f07ef220 /drivers/kvm/lapic.c | |
parent | 7e620d16b8838bc0ad5b27d2dd55796270cd588c (diff) |
KVM: CodingStyle cleanup
Signed-off-by: Mike D. Day <ncmike@ncultra.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/lapic.c')
-rw-r--r-- | drivers/kvm/lapic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/kvm/lapic.c b/drivers/kvm/lapic.c index 554e73ad33f0..e15b42e48862 100644 --- a/drivers/kvm/lapic.c +++ b/drivers/kvm/lapic.c | |||
@@ -906,8 +906,7 @@ static int __apic_timer_fn(struct kvm_lapic *apic) | |||
906 | wait_queue_head_t *q = &apic->vcpu->wq; | 906 | wait_queue_head_t *q = &apic->vcpu->wq; |
907 | 907 | ||
908 | atomic_inc(&apic->timer.pending); | 908 | atomic_inc(&apic->timer.pending); |
909 | if (waitqueue_active(q)) | 909 | if (waitqueue_active(q)) { |
910 | { | ||
911 | apic->vcpu->mp_state = VCPU_MP_STATE_RUNNABLE; | 910 | apic->vcpu->mp_state = VCPU_MP_STATE_RUNNABLE; |
912 | wake_up_interruptible(q); | 911 | wake_up_interruptible(q); |
913 | } | 912 | } |