]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - mm/memory.c
Merge tag 'v3.13-rc8' into x86/ras, to pick up fixes.
[karo-tx-linux.git] / mm / memory.c
index 0409e8f43fa0f3719fadf3f19afda45164bbaa94..6768ce9e57d29b6d8076b11c62c2097662f334d5 100644 (file)
@@ -4271,14 +4271,7 @@ void copy_user_huge_page(struct page *dst, struct page *src,
 }
 #endif /* CONFIG_TRANSPARENT_HUGEPAGE || CONFIG_HUGETLBFS */
 
-#if USE_SPLIT_PTE_PTLOCKS && BLOATED_SPINLOCKS
-static struct kmem_cache *page_ptl_cachep;
-void __init ptlock_cache_init(void)
-{
-       page_ptl_cachep = kmem_cache_create("page->ptl", sizeof(spinlock_t), 0,
-                       SLAB_PANIC, NULL);
-}
-
+#if USE_SPLIT_PTE_PTLOCKS && ALLOC_SPLIT_PTLOCKS
 bool ptlock_alloc(struct page *page)
 {
        spinlock_t *ptl;