Commit 993cfecc authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Michael Ellerman
parent 47bf235f
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <asm/firmware.h> #include <asm/firmware.h>
#include <asm/powernv.h> #include <asm/powernv.h>
#include <asm/sections.h> #include <asm/sections.h>
#include <asm/smp.h>
#include <asm/trace.h> #include <asm/trace.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/ultravisor.h> #include <asm/ultravisor.h>
......
...@@ -587,6 +587,11 @@ void radix__local_flush_all_mm(struct mm_struct *mm) ...@@ -587,6 +587,11 @@ void radix__local_flush_all_mm(struct mm_struct *mm)
preempt_enable(); preempt_enable();
} }
EXPORT_SYMBOL(radix__local_flush_all_mm); EXPORT_SYMBOL(radix__local_flush_all_mm);
static void __flush_all_mm(struct mm_struct *mm, bool fullmm)
{
radix__local_flush_all_mm(mm);
}
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr, void radix__local_flush_tlb_page_psize(struct mm_struct *mm, unsigned long vmaddr,
...@@ -777,7 +782,7 @@ void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) ...@@ -777,7 +782,7 @@ void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr)
EXPORT_SYMBOL(radix__flush_tlb_page); EXPORT_SYMBOL(radix__flush_tlb_page);
#else /* CONFIG_SMP */ #else /* CONFIG_SMP */
#define radix__flush_all_mm radix__local_flush_all_mm static inline void exit_flush_lazy_tlbs(struct mm_struct *mm) { }
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
static void do_tlbiel_kernel(void *info) static void do_tlbiel_kernel(void *info)
......
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