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)
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

Simple merge