diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-07-29 00:12:17 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-07-29 00:12:17 +0900 |
commit | 9cef7492696a416663b4edb953a4eade8517ebeb (patch) | |
tree | e52b19208a2197a624a7942e6c549d274a944fb0 /arch/sh/mm/tlb-nommu.c | |
parent | 0dfae7d5a21901b28ec0452d71be64adf5ea323e (diff) | |
download | op-kernel-dev-9cef7492696a416663b4edb953a4eade8517ebeb.zip op-kernel-dev-9cef7492696a416663b4edb953a4eade8517ebeb.tar.gz |
sh: update_mmu_cache() consolidation.
This splits out a separate __update_cache()/__update_tlb() for
update_mmu_cache() to wrap in to. This lets us share the common
__update_cache() bits while keeping special __update_tlb() handling
broken out.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/tlb-nommu.c')
-rw-r--r-- | arch/sh/mm/tlb-nommu.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/sh/mm/tlb-nommu.c b/arch/sh/mm/tlb-nommu.c index 71c742b..0ef5429 100644 --- a/arch/sh/mm/tlb-nommu.c +++ b/arch/sh/mm/tlb-nommu.c @@ -46,10 +46,13 @@ void local_flush_tlb_kernel_range(unsigned long start, unsigned long end) BUG(); } -void update_mmu_cache(struct vm_area_struct * vma, - unsigned long address, pte_t pte) +void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte) +{ +} + +void __update_cache(struct vm_area_struct *vma, + unsigned long address, pte_t pte) { - BUG(); } void __init page_table_range_init(unsigned long start, unsigned long end, |