Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: [email protected] Fixes: 7a97cec Signed-off-by: Paolo Bonzini <[email protected]>
- Loading branch information