From: Paul Mundt Date: Mon, 17 Dec 2007 01:52:11 +0000 (+0900) Subject: sh: Stub in page_table_range_init() on nommu. X-Git-Tag: upstream/snapshot3+hdmi~28350^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9acb98fb7ce948063a2269b4f8db83d6bef7e2b0;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git sh: Stub in page_table_range_init() on nommu. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/mm/tlb-nommu.c b/arch/sh/mm/tlb-nommu.c index 1ccca7c..8842620 100644 --- a/arch/sh/mm/tlb-nommu.c +++ b/arch/sh/mm/tlb-nommu.c @@ -9,6 +9,7 @@ */ #include #include +#include /* * 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 3df90f0..a4a8f8b 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