diff options
Diffstat (limited to 'arch/x86/include/asm/pgtable.h')
-rw-r--r-- | arch/x86/include/asm/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index e4ffa565a69f..690c0307afed 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h | |||
@@ -1195,7 +1195,7 @@ static inline pmd_t pmdp_establish(struct vm_area_struct *vma, | |||
1195 | return xchg(pmdp, pmd); | 1195 | return xchg(pmdp, pmd); |
1196 | } else { | 1196 | } else { |
1197 | pmd_t old = *pmdp; | 1197 | pmd_t old = *pmdp; |
1198 | *pmdp = pmd; | 1198 | WRITE_ONCE(*pmdp, pmd); |
1199 | return old; | 1199 | return old; |
1200 | } | 1200 | } |
1201 | } | 1201 | } |