]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1761d03997a641933540d353e45a0971e7f4b466
treeedd8426f3f71efb4cb965059c4049dc271294ba9
parent9e542b6517c16a07b672225efe3d8ff202b5e0a6
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