kvm: Provide kvm_vcpu_eligible_for_directed_yield() stub
authorScott Wood <scottwood@freescale.com>
Fri, 10 Jan 2014 00:43:16 +0000 (18:43 -0600)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:18:29 +0000 (17:18 +0200)
commit328c366d43fda9d85c758c455b5f522747fa3d7e
tree7ca70b5aeffb4feb096d8b007503281f5852f07c
parent3b254a9515ba76de3746f4c28041845ba27b3745
kvm: Provide kvm_vcpu_eligible_for_directed_yield() stub

Commit 7940876e1330671708186ac3386aa521ffb5c182 ("kvm: make local
functions static") broke KVM PPC builds due to removing (rather than
moving) the stub version of kvm_vcpu_eligible_for_directed_yield().

This patch reintroduces it.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: Alexander Graf <agraf@suse.de>
[Move the #ifdef inside the function. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 4a55dd7273c95b4a19fbcf0ae1bbd1cfd09dfc36)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/kvm_main.c