aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/mmu.c')
-rw-r--r--drivers/kvm/mmu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/kvm/mmu.c b/drivers/kvm/mmu.c
index b297a6b111ac..1199d3f32ac3 100644
--- a/drivers/kvm/mmu.c
+++ b/drivers/kvm/mmu.c
@@ -1332,24 +1332,24 @@ int kvm_mmu_module_init(void)
1332{ 1332{
1333 pte_chain_cache = kmem_cache_create("kvm_pte_chain", 1333 pte_chain_cache = kmem_cache_create("kvm_pte_chain",
1334 sizeof(struct kvm_pte_chain), 1334 sizeof(struct kvm_pte_chain),
1335 0, 0, NULL, NULL); 1335 0, 0, NULL);
1336 if (!pte_chain_cache) 1336 if (!pte_chain_cache)
1337 goto nomem; 1337 goto nomem;
1338 rmap_desc_cache = kmem_cache_create("kvm_rmap_desc", 1338 rmap_desc_cache = kmem_cache_create("kvm_rmap_desc",
1339 sizeof(struct kvm_rmap_desc), 1339 sizeof(struct kvm_rmap_desc),
1340 0, 0, NULL, NULL); 1340 0, 0, NULL);
1341 if (!rmap_desc_cache) 1341 if (!rmap_desc_cache)
1342 goto nomem; 1342 goto nomem;
1343 1343
1344 mmu_page_cache = kmem_cache_create("kvm_mmu_page", 1344 mmu_page_cache = kmem_cache_create("kvm_mmu_page",
1345 PAGE_SIZE, 1345 PAGE_SIZE,
1346 PAGE_SIZE, 0, NULL, NULL); 1346 PAGE_SIZE, 0, NULL);
1347 if (!mmu_page_cache) 1347 if (!mmu_page_cache)
1348 goto nomem; 1348 goto nomem;
1349 1349
1350 mmu_page_header_cache = kmem_cache_create("kvm_mmu_page_header", 1350 mmu_page_header_cache = kmem_cache_create("kvm_mmu_page_header",
1351 sizeof(struct kvm_mmu_page), 1351 sizeof(struct kvm_mmu_page),
1352 0, 0, NULL, NULL); 1352 0, 0, NULL);
1353 if (!mmu_page_header_cache) 1353 if (!mmu_page_header_cache)
1354 goto nomem; 1354 goto nomem;
1355 1355