summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/kvm.c
diff options
context:
space:
mode:
authorStuart Yoder <stuart.yoder@freescale.com>2012-07-03 07:48:50 +0200
committerAlexander Graf <agraf@suse.de>2012-10-05 23:38:36 +0200
commitfdcf8bd7e711d4c0fe3ef624cfb5e3808149ff7f (patch)
tree14ca1a463f2f79dccafca9a2560d95b22674e4ea /arch/powerpc/kernel/kvm.c
parentPPC: epapr: create define for return code value of success (diff)
downloadlinux-fdcf8bd7e711d4c0fe3ef624cfb5e3808149ff7f.tar.xz
linux-fdcf8bd7e711d4c0fe3ef624cfb5e3808149ff7f.zip
KVM: PPC: use definitions in epapr header for hcalls
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kernel/kvm.c')
-rw-r--r--arch/powerpc/kernel/kvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/kvm.c b/arch/powerpc/kernel/kvm.c
index 867db1de8949..a61b133c4f99 100644
--- a/arch/powerpc/kernel/kvm.c
+++ b/arch/powerpc/kernel/kvm.c
@@ -419,7 +419,7 @@ static void kvm_map_magic_page(void *data)
in[0] = KVM_MAGIC_PAGE;
in[1] = KVM_MAGIC_PAGE;
- kvm_hypercall(in, out, HC_VENDOR_KVM | KVM_HC_PPC_MAP_MAGIC_PAGE);
+ kvm_hypercall(in, out, KVM_HCALL_TOKEN(KVM_HC_PPC_MAP_MAGIC_PAGE));
*features = out[0];
}