aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/kvm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/mmu.c b/drivers/kvm/mmu.c
index d99d2fe53dca..1a87ba9d5156 100644
--- a/drivers/kvm/mmu.c
+++ b/drivers/kvm/mmu.c
@@ -244,7 +244,7 @@ static int mmu_topup_memory_cache_page(struct kvm_mmu_memory_cache *cache,
244static void mmu_free_memory_cache_page(struct kvm_mmu_memory_cache *mc) 244static void mmu_free_memory_cache_page(struct kvm_mmu_memory_cache *mc)
245{ 245{
246 while (mc->nobjs) 246 while (mc->nobjs)
247 __free_page(mc->objects[--mc->nobjs]); 247 free_page((unsigned long)mc->objects[--mc->nobjs]);
248} 248}
249 249
250static int __mmu_topup_memory_caches(struct kvm_vcpu *vcpu, gfp_t gfp_flags) 250static int __mmu_topup_memory_caches(struct kvm_vcpu *vcpu, gfp_t gfp_flags)