summaryrefslogtreecommitdiff
path: root/include/asm-sh/pgalloc-2level.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/pgalloc-2level.h')
-rw-r--r--include/asm-sh/pgalloc-2level.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/asm-sh/pgalloc-2level.h b/include/asm-sh/pgalloc-2level.h
deleted file mode 100644
index a9c9fddc473e..000000000000
--- a/include/asm-sh/pgalloc-2level.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef __ASM_SH_PGALLOC_2LEVEL_H
-#define __ASM_SH_PGALLOC_2LEVEL_H
-
-/*
- * traditional two-level paging, page table allocation routines:
- */
-
-static __inline__ pmd_t *get_pmd_fast(void)
-{
- return (pmd_t *)0;
-}
-
-static __inline__ void free_pmd_fast(pmd_t *pmd) { }
-static __inline__ void free_pmd_slow(pmd_t *pmd) { }
-
-static __inline__ pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address)
-{
- if (!pgd)
- BUG();
- return (pmd_t *) pgd;
-}
-
-#endif /* __ASM_SH_PGALLOC_2LEVEL_H */