summaryrefslogtreecommitdiff
path: root/include/asm-frv/pgalloc.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2005-01-04 05:24:21 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-04 05:24:21 -0800
commit9f7d59c7cd528f8007b2aaecaecdceb7f5479dca (patch)
treec2446631060f52a9b2c69eca6d8db110dd122daa /include/asm-frv/pgalloc.h
parent3970fa26ac3cfa5f7f4d66c2e14d5e81f828fac8 (diff)
[PATCH] FRV: Change PML4 -> PUD
The attached patch changes the PML4 bits of the FRV arch to the new PUD way. Signed-Off-By: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-frv/pgalloc.h')
-rw-r--r--include/asm-frv/pgalloc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-frv/pgalloc.h b/include/asm-frv/pgalloc.h
index 2fe90fb24893..1bd28f41bfa8 100644
--- a/include/asm-frv/pgalloc.h
+++ b/include/asm-frv/pgalloc.h
@@ -31,6 +31,7 @@ do { \
* Allocate and free page tables.
*/
+extern pgd_t *pgd_alloc(struct mm_struct *);
extern void pgd_free(pgd_t *);
extern pte_t *pte_alloc_one_kernel(struct mm_struct *, unsigned long);
@@ -57,9 +58,6 @@ static inline void pte_free(struct page *pte)
#define pmd_alloc_one(mm, addr) ({ BUG(); ((pmd_t *) 2); })
#define pmd_free(x) do { } while (0)
#define __pmd_free_tlb(tlb,x) do { } while (0)
-#define pgd_populate(mm, pmd, pte) BUG()
-
-#include <asm-generic/nopml4-pgalloc.h>
#endif /* CONFIG_MMU */