|
@@ -10,6 +10,10 @@
|
|
#ifndef _ASMARM_TLBFLUSH_H
|
|
#ifndef _ASMARM_TLBFLUSH_H
|
|
#define _ASMARM_TLBFLUSH_H
|
|
#define _ASMARM_TLBFLUSH_H
|
|
|
|
|
|
|
|
+#ifndef __ASSEMBLY__
|
|
|
|
+# include <linux/mm_types.h>
|
|
|
|
+#endif
|
|
|
|
+
|
|
#ifdef CONFIG_MMU
|
|
#ifdef CONFIG_MMU
|
|
|
|
|
|
#include <asm/glue.h>
|
|
#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 */
|
|
#elif defined(CONFIG_SMP) /* !CONFIG_MMU */
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
#ifndef __ASSEMBLY__
|
|
-
|
|
|
|
-#include <linux/mm_types.h>
|
|
|
|
-
|
|
|
|
static inline void local_flush_tlb_all(void) { }
|
|
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_mm(struct mm_struct *mm) { }
|
|
static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) { }
|
|
static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) { }
|