]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Fix thinko in try_lock_hpte()
authorPaul Mackerras <paulus@samba.org>
Mon, 15 Oct 2012 01:20:50 +0000 (01:20 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 30 Oct 2012 09:54:59 +0000 (10:54 +0100)
commite54457e1d66a155edc7b7dc61c228651c48e2a80
tree76e8204a8598e16fae6acc211afc27665d8396a5
parentcfc7934b919c167c39b9b9597dbdd587a796f77f
KVM: PPC: Book3S HV: Fix thinko in try_lock_hpte()

This fixes an error in the inline asm in try_lock_hpte() where we
were erroneously using a register number as an immediate operand.
The bug only affects an error path, and in fact the code will still
work as long as the compiler chooses some register other than r0
for the "bits" variable.  Nevertheless it should still be fixed.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_book3s_64.h