diff options
author | 2017-06-30 13:25:45 +0200 | |
---|---|---|
committer | 2017-07-10 14:44:07 +0200 | |
commit | b49defe83659cefbb1763d541e779da32594ab10 (patch) | |
tree | 174dc13e0ba46fb21e827f407fae1970fc0e7564 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'drm-for-v4.13' of git://people.freedesktop.org/~airlied/linux (diff) | |
download | wireguard-linux-b49defe83659cefbb1763d541e779da32594ab10.tar.xz wireguard-linux-b49defe83659cefbb1763d541e779da32594ab10.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions