diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-06-30 13:25:45 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-07-10 14:44:07 +0200 |
commit | b49defe83659cefbb1763d541e779da32594ab10 (patch) | |
tree | 174dc13e0ba46fb21e827f407fae1970fc0e7564 /crypto/md4.c | |
parent | af3c8d98508d37541d4bf57f13a984a7f73a328c (diff) | |
download | linux-b49defe83659cefbb1763d541e779da32594ab10.tar.bz2 |
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 'crypto/md4.c')
0 files changed, 0 insertions, 0 deletions