diff options
author | Paul Mackerras <paulus@samba.org> | 2012-08-05 20:03:28 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-08-16 08:14:52 -0400 |
commit | 04f995a544d1289ffb8108849cd71b1325c5af6a (patch) | |
tree | da83b019ef1dfc8a0997a3c42de5359f9d7b599d /arch/powerpc/include/asm/spinlock.h | |
parent | 439793d4b3c99e550daebd868bbd58967c93d0b3 (diff) |
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>
Diffstat (limited to 'arch/powerpc/include/asm/spinlock.h')
0 files changed, 0 insertions, 0 deletions