summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2012-02-16 13:07:32 (GMT)
committerAvi Kivity <avi@redhat.com>2012-04-08 09:55:01 (GMT)
commitacab05290696db0a5431a9ad171be649ab56e87b (patch)
tree9ccc5d7b35958b462b620826373262cb7e573494 /arch/powerpc/kvm
parentb2e19b20708edb6413dea38e6285a6e546dce06b (diff)
downloadlinux-fsl-qoriq-acab05290696db0a5431a9ad171be649ab56e87b.tar.xz
KVM: PPC: booke: remove leftover debugging
The e500mc patches left some debug code in that we don't need. Remove it. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm')
-rw-r--r--arch/powerpc/kvm/booke.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index 9fcc760..17d5318 100644
--- a/arch/powerpc/kvm/booke.c
+++ b/arch/powerpc/kvm/booke.c
@@ -469,11 +469,6 @@ int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu)
return -EINVAL;
}
- if (!current->thread.kvm_vcpu) {
- WARN(1, "no vcpu\n");
- return -EPERM;
- }
-
local_irq_disable();
kvmppc_core_prepare_to_enter(vcpu);