powerpc: Fix compile errors with STRICT_MM_TYPECHECKS enabled
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> [mpe: Fix the 32-bit code also] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
@@ -33,7 +33,7 @@ int __hash_page_thp(unsigned long ea, unsigned long access, unsigned long vsid,
|
||||
* atomically mark the linux large page PMD busy and dirty
|
||||
*/
|
||||
do {
|
||||
pmd_t pmd = ACCESS_ONCE(*pmdp);
|
||||
pmd_t pmd = READ_ONCE(*pmdp);
|
||||
|
||||
old_pmd = pmd_val(pmd);
|
||||
/* If PMD busy, retry the access */
|
||||
|
Reference in New Issue
Block a user