summary refs log tree commit diff
path: root/fs/select.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-06-30 13:25:45 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-07-10 14:44:07 +0200
commitb49defe83659cefbb1763d541e779da32594ab10 (patch)
tree174dc13e0ba46fb21e827f407fae1970fc0e7564 /fs/select.c
parentaf3c8d98508d37541d4bf57f13a984a7f73a328c (diff)
downloadlinux-b49defe83659cefbb1763d541e779da32594ab10.tar.gz
kvm: avoid unused variable warning for UP builds
The uniprocessor version of smp_call_function_many does not evaluate
all of its argument, and the compiler emits a warning about "wait"
being unused.  This breaks the build on architectures for which
"-Werror" is enabled by default.

Work around it by moving the invocation of smp_call_function_many to
its own inline function.

Reported-by: Paul Mackerras <paulus@ozlabs.org>
Cc: stable@vger.kernel.org
Fixes: 7a97cec26b94c909f4cbad2dc3186af3e457a522
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions