diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 8b44f765b645..06ff0720d75a 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -3181,7 +3181,7 @@ static int handle_pte_fault(struct mm_struct *mm, | |||
3181 | pte_t entry; | 3181 | pte_t entry; |
3182 | spinlock_t *ptl; | 3182 | spinlock_t *ptl; |
3183 | 3183 | ||
3184 | entry = *pte; | 3184 | entry = ACCESS_ONCE(*pte); |
3185 | if (!pte_present(entry)) { | 3185 | if (!pte_present(entry)) { |
3186 | if (pte_none(entry)) { | 3186 | if (pte_none(entry)) { |
3187 | if (vma->vm_ops) { | 3187 | if (vma->vm_ops) { |