diff options
| -rw-r--r-- | arch/x86/include/asm/tlbflush.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/tlbflush.h b/arch/x86/include/asm/tlbflush.h index b5a27bd77669..74a44333545a 100644 --- a/arch/x86/include/asm/tlbflush.h +++ b/arch/x86/include/asm/tlbflush.h | |||
| @@ -105,10 +105,10 @@ static inline void flush_tlb_range(struct vm_area_struct *vma, | |||
| 105 | __flush_tlb(); | 105 | __flush_tlb(); |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | static inline void flush_tlb_mm_range(struct vm_area_struct *vma, | 108 | static inline void flush_tlb_mm_range(struct mm_struct *mm, |
| 109 | unsigned long start, unsigned long end, unsigned long vmflag) | 109 | unsigned long start, unsigned long end, unsigned long vmflag) |
| 110 | { | 110 | { |
| 111 | if (vma->vm_mm == current->active_mm) | 111 | if (mm == current->active_mm) |
| 112 | __flush_tlb(); | 112 | __flush_tlb(); |
| 113 | } | 113 | } |
| 114 | 114 | ||
