projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d1c0f4
)
KVM: fix kvm_vcpu_kick build failure on S390
author
Marcelo Tosatti
<mtosatti@redhat.com>
Wed, 14 Mar 2012 20:58:48 +0000
(17:58 -0300)
committer
Avi Kivity
<avi@redhat.com>
Sun, 8 Apr 2012 09:49:42 +0000
(12:49 +0300)
S390's kvm_vcpu_stat does not contain halt_wakeup member.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c
patch
|
blob
|
blame
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index 7149a2e655242714023a4311cf76bf3493982fc5..a612bc8c921ca3f983105846018b373c086e1376 100644
(file)
--- a/
virt/kvm/kvm_main.c
+++ b/
virt/kvm/kvm_main.c
@@
-1514,6
+1514,7
@@
void kvm_vcpu_block(struct kvm_vcpu *vcpu)
finish_wait(&vcpu->wq, &wait);
}
+#ifndef CONFIG_S390
/*
* Kick a sleeping VCPU, or a guest VCPU in guest mode, into host kernel mode.
*/
@@
-1535,6
+1536,7
@@
void kvm_vcpu_kick(struct kvm_vcpu *vcpu)
smp_send_reschedule(cpu);
put_cpu();
}
+#endif /* !CONFIG_S390 */
void kvm_resched(struct kvm_vcpu *vcpu)
{