x86/mm/pae: Use WRITE_ONCE()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 26 Nov 2020 16:40:12 +0000 (17:40 +0100)
committerDave Hansen <dave.hansen@linux.intel.com>
Thu, 15 Dec 2022 18:37:27 +0000 (10:37 -0800)
commitf7bcd4617de67a4700a7bd7dc56808b57f1c8748
treeec9fabdd628ae64d277202333ac6dcfcc20fe440
parent7a9b8bdb6af3e19fb8e3dc7a3caf6a9ea1bed8cd
x86/mm/pae: Use WRITE_ONCE()

Disallow write-tearing, that would be really unfortunate.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20221022114425.038102604%40infradead.org
arch/x86/include/asm/pgtable-3level.h