Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1336669 > unrolled thread
| Started by | Radim Krčmář <rkrcmar@redhat.com> |
|---|---|
| First post | 2016-02-17 20:20 +0100 |
| Last post | 2016-02-17 20:20 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v2 12/14] KVM: x86: remove pointless dereference of PIT Radim Krčmář <rkrcmar@redhat.com> - 2016-02-17 20:20 +0100
| From | Radim Krčmář <rkrcmar@redhat.com> |
|---|---|
| Date | 2016-02-17 20:20 +0100 |
| Subject | [PATCH v2 12/14] KVM: x86: remove pointless dereference of PIT |
| Message-ID | <r3fNM-2nq-5@gated-at.bofh.it> |
PIT is known at that point. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> --- v2: new arch/x86/kvm/i8254.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/i8254.c b/arch/x86/kvm/i8254.c index d09925e7934a..be1072c31d49 100644 --- a/arch/x86/kvm/i8254.c +++ b/arch/x86/kvm/i8254.c @@ -267,8 +267,8 @@ static void pit_do_work(struct kthread_work *work) if (ps->reinject && !atomic_xchg(&ps->irq_ack, 0)) return; - kvm_set_irq(kvm, kvm->arch.vpit->irq_source_id, 0, 1, false); - kvm_set_irq(kvm, kvm->arch.vpit->irq_source_id, 0, 0, false); + kvm_set_irq(kvm, pit->irq_source_id, 0, 1, false); + kvm_set_irq(kvm, pit->irq_source_id, 0, 0, false); /* * Provides NMI watchdog support via Virtual Wire mode. -- 2.7.1
Back to top | Article view | linux.kernel
csiph-web