summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/kvm.c
diff options
context:
space:
mode:
authorStuart Yoder <stuart.yoder@freescale.com>2012-07-03 09:48:50 +0400
committerAlexander Graf <agraf@suse.de>2012-10-06 01:38:36 +0400
commitfdcf8bd7e711d4c0fe3ef624cfb5e3808149ff7f (patch)
tree14ca1a463f2f79dccafca9a2560d95b22674e4ea /arch/powerpc/kernel/kvm.c
parente13dcc1ab593452b99c39de2cb588c39f6d6a7e9 (diff)
downloadlinux-fdcf8bd7e711d4c0fe3ef624cfb5e3808149ff7f.tar.xz
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];
}