* [PATCH] powerpc: Remove _PAGE_SAO stub for book3e/64
@ 2022-06-20 6:21 Christophe Leroy
2022-07-04 11:33 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Christophe Leroy @ 2022-06-20 6:21 UTC (permalink / raw)
To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman
Cc: Christophe Leroy, linux-kernel, linuxppc-dev
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>
---
arch/powerpc/include/asm/nohash/64/pgtable.h | 2 --
1 file changed, 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))
/*
--
2.36.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc: Remove _PAGE_SAO stub for book3e/64
2022-06-20 6:21 [PATCH] powerpc: Remove _PAGE_SAO stub for book3e/64 Christophe Leroy
@ 2022-07-04 11:33 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2022-07-04 11:33 UTC (permalink / raw)
To: Christophe Leroy, Paul Mackerras, Benjamin Herrenschmidt,
Michael Ellerman
Cc: linuxppc-dev, linux-kernel
On Mon, 20 Jun 2022 08:21:22 +0200, Christophe Leroy wrote:
> 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.
>
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Remove _PAGE_SAO stub for book3e/64
https://git.kernel.org/powerpc/c/12a9eddd239e14ccbf0ea50b3504a21bda002ba9
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-04 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-20 6:21 [PATCH] powerpc: Remove _PAGE_SAO stub for book3e/64 Christophe Leroy
2022-07-04 11:33 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).