diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/mm/init.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index 720287d46e55..e54268004f53 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c | |||
@@ -792,8 +792,6 @@ map_hpux_gateway_page(struct task_struct *tsk, struct mm_struct *mm) | |||
792 | EXPORT_SYMBOL(map_hpux_gateway_page); | 792 | EXPORT_SYMBOL(map_hpux_gateway_page); |
793 | #endif | 793 | #endif |
794 | 794 | ||
795 | extern void flush_tlb_all_local(void); | ||
796 | |||
797 | void __init paging_init(void) | 795 | void __init paging_init(void) |
798 | { | 796 | { |
799 | int i; | 797 | int i; |
@@ -802,7 +800,7 @@ void __init paging_init(void) | |||
802 | pagetable_init(); | 800 | pagetable_init(); |
803 | gateway_init(); | 801 | gateway_init(); |
804 | flush_cache_all_local(); /* start with known state */ | 802 | flush_cache_all_local(); /* start with known state */ |
805 | flush_tlb_all_local(); | 803 | flush_tlb_all_local(NULL); |
806 | 804 | ||
807 | for (i = 0; i < npmem_ranges; i++) { | 805 | for (i = 0; i < npmem_ranges; i++) { |
808 | unsigned long zones_size[MAX_NR_ZONES] = { 0, 0, 0 }; | 806 | unsigned long zones_size[MAX_NR_ZONES] = { 0, 0, 0 }; |
@@ -993,7 +991,7 @@ void flush_tlb_all(void) | |||
993 | do_recycle++; | 991 | do_recycle++; |
994 | } | 992 | } |
995 | spin_unlock(&sid_lock); | 993 | spin_unlock(&sid_lock); |
996 | on_each_cpu((void (*)(void *))flush_tlb_all_local, NULL, 1, 1); | 994 | on_each_cpu(flush_tlb_all_local, NULL, 1, 1); |
997 | if (do_recycle) { | 995 | if (do_recycle) { |
998 | spin_lock(&sid_lock); | 996 | spin_lock(&sid_lock); |
999 | recycle_sids(recycle_ndirty,recycle_dirty_array); | 997 | recycle_sids(recycle_ndirty,recycle_dirty_array); |