aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index 931467881da7..5bd53f206f4f 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -4534,7 +4534,7 @@ int kvm_mmu_module_init(void)
4534 if (!mmu_page_header_cache) 4534 if (!mmu_page_header_cache)
4535 goto nomem; 4535 goto nomem;
4536 4536
4537 if (percpu_counter_init(&kvm_total_used_mmu_pages, 0)) 4537 if (percpu_counter_init(&kvm_total_used_mmu_pages, 0, GFP_KERNEL))
4538 goto nomem; 4538 goto nomem;
4539 4539
4540 register_shrinker(&mmu_shrinker); 4540 register_shrinker(&mmu_shrinker);