Commit eb4e9b51 authored by David Mosberger's avatar David Mosberger

ia64: Rename __flush_tlb_all() to local_flush_tlb_all().

parent 1a3b1862
...@@ -86,7 +86,7 @@ EXPORT_SYMBOL(cpu_online_map); ...@@ -86,7 +86,7 @@ EXPORT_SYMBOL(cpu_online_map);
EXPORT_SYMBOL(ia64_cpu_to_sapicid); EXPORT_SYMBOL(ia64_cpu_to_sapicid);
#else /* !CONFIG_SMP */ #else /* !CONFIG_SMP */
EXPORT_SYMBOL(__flush_tlb_all); EXPORT_SYMBOL(local_flush_tlb_all);
#endif /* !CONFIG_SMP */ #endif /* !CONFIG_SMP */
......
...@@ -206,8 +206,8 @@ smp_send_reschedule_all (void) ...@@ -206,8 +206,8 @@ smp_send_reschedule_all (void)
void void
smp_flush_tlb_all (void) smp_flush_tlb_all (void)
{ {
smp_call_function((void (*)(void *))__flush_tlb_all, 0, 1, 1); smp_call_function((void (*)(void *))local_flush_tlb_all, 0, 1, 1);
__flush_tlb_all(); local_flush_tlb_all();
} }
/* /*
......
...@@ -84,7 +84,7 @@ wrap_mmu_context (struct mm_struct *mm) ...@@ -84,7 +84,7 @@ wrap_mmu_context (struct mm_struct *mm)
for (i = 0; i < NR_CPUS; ++i) for (i = 0; i < NR_CPUS; ++i)
if (i != smp_processor_id()) if (i != smp_processor_id())
per_cpu(ia64_need_tlb_flush, i) = 1; per_cpu(ia64_need_tlb_flush, i) = 1;
__flush_tlb_all(); local_flush_tlb_all();
} }
void void
...@@ -108,7 +108,7 @@ ia64_global_tlb_purge (unsigned long start, unsigned long end, unsigned long nbi ...@@ -108,7 +108,7 @@ ia64_global_tlb_purge (unsigned long start, unsigned long end, unsigned long nbi
} }
void void
__flush_tlb_all (void) local_flush_tlb_all (void)
{ {
unsigned long i, j, flags, count0, count1, stride0, stride1, addr; unsigned long i, j, flags, count0, count1, stride0, stride1, addr;
...@@ -194,5 +194,5 @@ ia64_tlb_init (void) ...@@ -194,5 +194,5 @@ ia64_tlb_init (void)
local_cpu_data->ptce_stride[0] = ptce_info.stride[0]; local_cpu_data->ptce_stride[0] = ptce_info.stride[0];
local_cpu_data->ptce_stride[1] = ptce_info.stride[1]; local_cpu_data->ptce_stride[1] = ptce_info.stride[1];
__flush_tlb_all(); /* nuke left overs from bootstrapping... */ local_flush_tlb_all(); /* nuke left overs from bootstrapping... */
} }
...@@ -54,10 +54,10 @@ enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk, unsigned cpu) ...@@ -54,10 +54,10 @@ enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk, unsigned cpu)
static inline void static inline void
delayed_tlb_flush (void) delayed_tlb_flush (void)
{ {
extern void __flush_tlb_all (void); extern void local_flush_tlb_all (void);
if (unlikely(__get_cpu_var(ia64_need_tlb_flush))) { if (unlikely(__get_cpu_var(ia64_need_tlb_flush))) {
__flush_tlb_all(); local_flush_tlb_all();
__get_cpu_var(ia64_need_tlb_flush) = 0; __get_cpu_var(ia64_need_tlb_flush) = 0;
} }
} }
......
...@@ -22,13 +22,13 @@ ...@@ -22,13 +22,13 @@
* Flush everything (kernel mapping may also have changed due to * Flush everything (kernel mapping may also have changed due to
* vmalloc/vfree). * vmalloc/vfree).
*/ */
extern void __flush_tlb_all (void); extern void local_flush_tlb_all (void);
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
extern void smp_flush_tlb_all (void); extern void smp_flush_tlb_all (void);
# define flush_tlb_all() smp_flush_tlb_all() # define flush_tlb_all() smp_flush_tlb_all()
#else #else
# define flush_tlb_all() __flush_tlb_all() # define flush_tlb_all() local_flush_tlb_all()
#endif #endif
/* /*
......
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