|
@@ -792,8 +792,6 @@ map_hpux_gateway_page(struct task_struct *tsk, struct mm_struct *mm)
|
|
EXPORT_SYMBOL(map_hpux_gateway_page);
|
|
EXPORT_SYMBOL(map_hpux_gateway_page);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-extern void flush_tlb_all_local(void);
|
|
|
|
-
|
|
|
|
void __init paging_init(void)
|
|
void __init paging_init(void)
|
|
{
|
|
{
|
|
int i;
|
|
int i;
|
|
@@ -802,7 +800,7 @@ void __init paging_init(void)
|
|
pagetable_init();
|
|
pagetable_init();
|
|
gateway_init();
|
|
gateway_init();
|
|
flush_cache_all_local(); /* start with known state */
|
|
flush_cache_all_local(); /* start with known state */
|
|
- flush_tlb_all_local();
|
|
|
|
|
|
+ flush_tlb_all_local(NULL);
|
|
|
|
|
|
for (i = 0; i < npmem_ranges; i++) {
|
|
for (i = 0; i < npmem_ranges; i++) {
|
|
unsigned long zones_size[MAX_NR_ZONES] = { 0, 0, 0 };
|
|
unsigned long zones_size[MAX_NR_ZONES] = { 0, 0, 0 };
|
|
@@ -993,7 +991,7 @@ void flush_tlb_all(void)
|
|
do_recycle++;
|
|
do_recycle++;
|
|
}
|
|
}
|
|
spin_unlock(&sid_lock);
|
|
spin_unlock(&sid_lock);
|
|
- on_each_cpu((void (*)(void *))flush_tlb_all_local, NULL, 1, 1);
|
|
|
|
|
|
+ on_each_cpu(flush_tlb_all_local, NULL, 1, 1);
|
|
if (do_recycle) {
|
|
if (do_recycle) {
|
|
spin_lock(&sid_lock);
|
|
spin_lock(&sid_lock);
|
|
recycle_sids(recycle_ndirty,recycle_dirty_array);
|
|
recycle_sids(recycle_ndirty,recycle_dirty_array);
|