diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-12-17 04:52:11 +0300 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-28 07:19:00 +0300 |
commit | 9acb98fb7ce948063a2269b4f8db83d6bef7e2b0 (patch) | |
tree | f515f951bc97bf6c24e57225554802e7671310a8 | |
parent | d7ef4fb3acd1c1b141202c728ab3a78140a44eb7 (diff) | |
download | linux-9acb98fb7ce948063a2269b4f8db83d6bef7e2b0.tar.xz |
sh: Stub in page_table_range_init() on nommu.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/mm/tlb-nommu.c | 6 | ||||
-rw-r--r-- | include/asm-sh/pgtable.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/mm/tlb-nommu.c b/arch/sh/mm/tlb-nommu.c index 1ccca7c0532e..8842620604c3 100644 --- a/arch/sh/mm/tlb-nommu.c +++ b/arch/sh/mm/tlb-nommu.c @@ -9,6 +9,7 @@ */ #include <linux/kernel.h> #include <linux/mm.h> +#include <asm/pgtable.h> /* * Nothing too terribly exciting here .. @@ -49,3 +50,8 @@ void update_mmu_cache(struct vm_area_struct * vma, { BUG(); } + +void __init page_table_range_init(unsigned long start, unsigned long end, + pgd_t *pgd_base) +{ +} diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h index 3df90f003e95..a4a8f8b93463 100644 --- a/include/asm-sh/pgtable.h +++ b/include/asm-sh/pgtable.h @@ -144,6 +144,8 @@ extern void update_mmu_cache(struct vm_area_struct * vma, unsigned long address, pte_t pte); extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; extern void paging_init(void); +extern void page_table_range_init(unsigned long start, unsigned long end, + pgd_t *pgd); #include <asm-generic/pgtable.h> |