summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/nohash/64
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-06-20 09:21:22 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-06-29 09:59:31 +0300
commit12a9eddd239e14ccbf0ea50b3504a21bda002ba9 (patch)
treefeadc2b88f88dbb0c872f617ef605f33f06275b8 /arch/powerpc/include/asm/nohash/64
parent513f5bbac7b9ca7046bc350dd6eb39b957e338a7 (diff)
downloadlinux-12a9eddd239e14ccbf0ea50b3504a21bda002ba9.tar.xz
powerpc: Remove _PAGE_SAO stub for book3e/64
Since commit 634093c59a12 ("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
Diffstat (limited to 'arch/powerpc/include/asm/nohash/64')
-rw-r--r--arch/powerpc/include/asm/nohash/64/pgtable.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/nohash/64/pgtable.h b/arch/powerpc/include/asm/nohash/64/pgtable.h
index 57083f95e82b..25b72b2b30ce 100644
--- a/arch/powerpc/include/asm/nohash/64/pgtable.h
+++ b/arch/powerpc/include/asm/nohash/64/pgtable.h
@@ -83,8 +83,6 @@
*/
#include <asm/nohash/pte-book3e.h>
-#define _PAGE_SAO 0
-
#define PTE_RPN_MASK (~((1UL << PTE_RPN_SHIFT) - 1))
/*