commit | 19308a412ec52c0de92d296842be237778753d9b | [log] [tgz] |
---|---|---|
author | Yi Wang <wang.yi59@zte.com.cn> | Thu Oct 10 14:37:25 2019 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Oct 25 14:01:14 2019 +0200 |
tree | 64934a14b5ca95cfedafd1b2ed8af92b18dd81b1 | |
parent | 149487bdacde32f5a9a344a49533ae0772fb9db7 [diff] |
x86/kvm: Fix -Wmissing-prototypes warnings We get two warning when build kernel with W=1: arch/x86/kernel/kvm.c:872:6: warning: no previous prototype for ‘arch_haltpoll_enable’ [-Wmissing-prototypes] arch/x86/kernel/kvm.c:885:6: warning: no previous prototype for ‘arch_haltpoll_disable’ [-Wmissing-prototypes] Including the missing head file can fix this. Signed-off-by: Yi Wang <wang.yi59@zte.com.cn> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>