KVM: PPC: Book3S HV: Fix incorrect branch in H_CEDE code
authorPaul Mackerras <paulus@samba.org>
Mon, 6 Aug 2012 00:03:28 +0000 (00:03 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 16 Aug 2012 12:14:52 +0000 (14:14 +0200)
commit04f995a544d1289ffb8108849cd71b1325c5af6a
treeda83b019ef1dfc8a0997a3c42de5359f9d7b599d
parent439793d4b3c99e550daebd868bbd58967c93d0b3
KVM: PPC: Book3S HV: Fix incorrect branch in H_CEDE code

In handling the H_CEDE hypercall, if this vcpu has already been
prodded (with the H_PROD hypercall, which Linux guests don't in fact
use), we branch to a numeric label '1f'.  Unfortunately there is
another '1:' label before the one that we want to jump to.  This fixes
the problem by using a textual label, 'kvm_cede_prodded'.  It also
changes the label for another longish branch from '2:' to
'kvm_cede_exit' to avoid a possible future problem if code modifications
add another numeric '2:' label in between.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_hv_rmhandlers.S