projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e19b2
)
KVM: PPC: booke: remove leftover debugging
author
Alexander Graf
<agraf@suse.de>
Thu, 16 Feb 2012 13:07:32 +0000
(13:07 +0000)
committer
Avi Kivity
<avi@redhat.com>
Sun, 8 Apr 2012 09:55:01 +0000
(12:55 +0300)
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>
arch/powerpc/kvm/booke.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kvm/booke.c
b/arch/powerpc/kvm/booke.c
index 9fcc7607a54ecd2719b5073f363e57b79f9ee555..17d5318e6e4fde880e08cfcd6490a9cd56254eb5 100644
(file)
--- 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);