diff options
author | Michael Neuling <mikey@neuling.org> | 2011-11-10 20:03:20 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-12-26 15:28:02 +0400 |
commit | 251da03897b383904901620835044e298061875f (patch) | |
tree | 01e2d3ff93f67b992054a9ad182f99530bd9c65f /arch/xtensa | |
parent | 96f38d72867bc54c312decaf8463f1e9607136da (diff) | |
download | linux-251da03897b383904901620835044e298061875f.tar.xz |
KVM: PPC: fix kvmppc_start_thread() for CONFIG_SMP=N
Currently kvmppc_start_thread() tries to wake other SMT threads via
xics_wake_cpu(). Unfortunately xics_wake_cpu only exists when
CONFIG_SMP=Y so when compiling with CONFIG_SMP=N we get:
arch/powerpc/kvm/built-in.o: In function `.kvmppc_start_thread':
book3s_hv.c:(.text+0xa1e0): undefined reference to `.xics_wake_cpu'
The following should be fine since kvmppc_start_thread() shouldn't
called to start non-zero threads when SMP=N since threads_per_core=1.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions