mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
b2e19b2070
commit
acab052906
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue