KVM: PPC: Pass enum to kvmppc_get_last_inst
authorAlexander Graf <agraf@suse.de>
Wed, 10 Sep 2014 12:37:29 +0000 (14:37 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Sep 2014 08:11:36 +0000 (10:11 +0200)
The kvmppc_get_last_inst function recently received a facelift that allowed
us to pass an enum of the type of instruction we want to read into it rather
than an unreadable boolean.

Unfortunately, not all callers ended up passing the enum. This wasn't really
an issue as "true" and "false" happen to match the two enum values we have,
but it's still hard to read.

Update all callers of kvmppc_get_last_inst() to follow the new calling
convention.

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/emulate.c
arch/powerpc/kvm/emulate_loadstore.c
arch/powerpc/kvm/powerpc.c

Simple merge
Simple merge
Simple merge
Simple merge