summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/pgalloc.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-01-05 12:27:46 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-01-05 12:27:46 +0900
commita7595fe7e8a93a73ce6199dace75a0caca7024c1 (patch)
treed8ed3959fe722ac5dad69285dea5537fc2535098 /arch/sh/include/asm/pgalloc.h
parent921a220857cdd3c553cde7c114f9f6757ac80cd5 (diff)
parent2a5eacca85d39d8b6dffae821d7d260f05584dc7 (diff)
Merge branch 'sh/pgtable' of git://github.com/mfleming/linux-2.6
Diffstat (limited to 'arch/sh/include/asm/pgalloc.h')
-rw-r--r--arch/sh/include/asm/pgalloc.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/sh/include/asm/pgalloc.h b/arch/sh/include/asm/pgalloc.h
index 4ea27855c3b..e106474996b 100644
--- a/arch/sh/include/asm/pgalloc.h
+++ b/arch/sh/include/asm/pgalloc.h
@@ -6,10 +6,13 @@
#define QUICK_PT 1 /* Other page table pages that are zero on free */
+extern pgd_t *pgd_alloc(struct mm_struct *);
+extern void pgd_free(struct mm_struct *mm, pgd_t *pgd);
+
#ifdef CONFIG_PGTABLE_LEVELS_3
-#include <asm/pgalloc_pmd.h>
-#else
-#include <asm/pgalloc_nopmd.h>
+extern void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd);
+extern pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address);
+extern void pmd_free(struct mm_struct *mm, pmd_t *pmd);
#endif
static inline void pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd,
@@ -67,7 +70,6 @@ do { \
static inline void check_pgt_cache(void)
{
- __check_pgt_cache();
quicklist_trim(QUICK_PT, NULL, 25, 16);
}