summaryrefslogtreecommitdiff
path: root/include/linux/rmap-locking.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/rmap-locking.h')
-rw-r--r--include/linux/rmap-locking.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/rmap-locking.h b/include/linux/rmap-locking.h
deleted file mode 100644
index cb30ed470cf6..000000000000
--- a/include/linux/rmap-locking.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * include/linux/rmap-locking.h
- *
- * Locking primitives for exclusive access to a page's reverse-mapping
- * pte chain.
- */
-
-#include <linux/slab.h>
-
-struct pte_chain;
-extern kmem_cache_t *pte_chain_cache;
-
-#define pte_chain_lock(page) bit_spin_lock(PG_chainlock, (unsigned long *)&page->flags)
-#define pte_chain_unlock(page) bit_spin_unlock(PG_chainlock, (unsigned long *)&page->flags)
-
-struct pte_chain *pte_chain_alloc(int gfp_flags);
-void __pte_chain_free(struct pte_chain *pte_chain);
-
-static inline void pte_chain_free(struct pte_chain *pte_chain)
-{
- if (pte_chain)
- __pte_chain_free(pte_chain);
-}