Commit 9acb98fb authored by Paul Mundt's avatar Paul Mundt

sh: Stub in page_table_range_init() on nommu.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent d7ef4fb3
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <asm/pgtable.h>
/* /*
* Nothing too terribly exciting here .. * Nothing too terribly exciting here ..
...@@ -49,3 +50,8 @@ void update_mmu_cache(struct vm_area_struct * vma, ...@@ -49,3 +50,8 @@ void update_mmu_cache(struct vm_area_struct * vma,
{ {
BUG(); BUG();
} }
void __init page_table_range_init(unsigned long start, unsigned long end,
pgd_t *pgd_base)
{
}
...@@ -144,6 +144,8 @@ extern void update_mmu_cache(struct vm_area_struct * vma, ...@@ -144,6 +144,8 @@ extern void update_mmu_cache(struct vm_area_struct * vma,
unsigned long address, pte_t pte); unsigned long address, pte_t pte);
extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
extern void paging_init(void); 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> #include <asm-generic/pgtable.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment