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)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jan 2014 11:03:23 +0000 (12:03 +0100)
commit4a55dd7273c95b4a19fbcf0ae1bbd1cfd09dfc36
tree09dadcf8fe69df1b1148698dea0b5e772e8d1019
parente81d1ad32753cdeaef56b9bffe3b8ab7b5c776e5
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>
virt/kvm/kvm_main.c