x86: kvm: mmu: make kvm_mmu_clear_all_pte_masks static
authorGimcuan Hui <gimcuan@gmail.com>
Fri, 3 Nov 2017 18:52:46 +0000 (18:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 14 Dec 2017 08:26:41 +0000 (09:26 +0100)
commit858ac87fc2ff7be8fedfa8dd2ba47627068c2eae
treeedd8426f3f71efb4cb965059c4049dc271294ba9
parentfb6d4d340e0532032c808a9933eaaa7b8de435ab
x86: kvm: mmu: make kvm_mmu_clear_all_pte_masks static

The kvm_mmu_clear_all_pte_masks interface is only used by kvm_mmu_module_init
locally, and does not need to be called by other module, make it static.

This patch cleans up sparse warning:
symbol 'kvm_mmu_clear_all_pte_masks' was not declared. Should it be static?

Signed-off-by: Gimcuan Hui <gimcuan@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c