]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: Book3s: PR: No irq_disable in vcpu_run
authorAlexander Graf <agraf@suse.de>
Fri, 9 Dec 2011 14:47:53 +0000 (15:47 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:28 +0000 (14:52 +0200)
commitd33ad328c0025c45f4688a769aeebddc342222c1
treea19cbfe239e772d77da6aaebdef0b71bc813a215
parent7d82714d4d1293edc57439c796750310866624b2
KVM: PPC: Book3s: PR: No irq_disable in vcpu_run

Somewhere during merges we ended up from

  local_irq_enable()
  foo();
  local_irq_disable()

to always keeping irqs enabled during that part. However, we now
have the following code:

  foo();
  local_irq_disable()

which disables interrupts without the surrounding code enabling them
again! So let's remove that disable and be happy.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_pr.c