]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc: Remove _PAGE_SAO stub for book3e/64
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 20 Jun 2022 06:21:22 +0000 (08:21 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jun 2022 06:59:31 +0000 (16:59 +1000)
Since commit c4e136527721 ("powerpc/mm: enable
ARCH_HAS_VM_GET_PAGE_PROT"), _PAGE_SAO is used only in
arch/powerpc/mm/book3s64/pgtable.c

The _PAGE_SAO stub defined as 0 for book3e/64 can be removed.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/715e644fb3c7d992c0b71f6165ab6cf8c682055a.1655706069.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/nohash/64/pgtable.h

index 57083f95e82b0ee2390e3b5954fff14138a7c0c1..25b72b2b30cee35592929ff46be328e3337416c6 100644 (file)
@@ -83,8 +83,6 @@
  */
 #include <asm/nohash/pte-book3e.h>
 
-#define _PAGE_SAO      0
-
 #define PTE_RPN_MASK   (~((1UL << PTE_RPN_SHIFT) - 1))
 
 /*