Merge tag 'v4.11-rc5' into next
[sfrench/cifs-2.6.git] / arch / arm / include / asm / tlbflush.h
index def9e570199f90a0c42dc7da0f8998fba6a0ab39..1897b5196fb57fd9a1cc8962d3d65ad317ca6bcd 100644 (file)
 #ifndef _ASMARM_TLBFLUSH_H
 #define _ASMARM_TLBFLUSH_H
 
+#ifndef __ASSEMBLY__
+# include <linux/mm_types.h>
+#endif
+
 #ifdef CONFIG_MMU
 
 #include <asm/glue.h>
@@ -644,9 +648,6 @@ static inline void update_mmu_cache(struct vm_area_struct *vma,
 #elif defined(CONFIG_SMP)      /* !CONFIG_MMU */
 
 #ifndef __ASSEMBLY__
-
-#include <linux/mm_types.h>
-
 static inline void local_flush_tlb_all(void)                                                                   { }
 static inline void local_flush_tlb_mm(struct mm_struct *mm)                                                    { }
 static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr)                       { }