KVM: PPC: Add Book3S compatibility code
[safe/jmp/linux-2.6] / arch / powerpc / kvm / book3s_emulate.c
index daa829b..3f7afb5 100644 (file)
 #define SPRN_GQR6              918
 #define SPRN_GQR7              919
 
+/* Book3S_32 defines mfsrin(v) - but that messes up our abstract
+ * function pointers, so let's just disable the define. */
+#undef mfsrin
+
 int kvmppc_core_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu,
                            unsigned int inst, int *advance)
 {