[PATCH v3] powerpc: Fixup for v3 "powerpc/nohash: Refactor update of BDI2000 pointers in switch_mmu_context()" in next-test
Christophe Leroy
christophe.leroy at csgroup.eu
Mon Jun 7 19:52:38 AEST 2021
As mentionned in history, v3 doesn't apply to book3s/32 so the hunk
on head_book3s_32.S has to be dropped from the commit mentionned
in the title.
Signed-off-by: Christophe Leroy <christophe.leroy at csgroup.eu>
---
Michael, tell me if you prefer a v4 of the series.
---
arch/powerpc/kernel/head_book3s_32.S | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/kernel/head_book3s_32.S b/arch/powerpc/kernel/head_book3s_32.S
index 32c27dac9b80..326262030279 100644
--- a/arch/powerpc/kernel/head_book3s_32.S
+++ b/arch/powerpc/kernel/head_book3s_32.S
@@ -1282,3 +1282,9 @@ EXPORT_SYMBOL(empty_zero_page)
.globl swapper_pg_dir
swapper_pg_dir:
.space PGD_TABLE_SIZE
+
+/* Room for two PTE pointers, usually the kernel and current user pointers
+ * to their respective root page table.
+ */
+abatron_pteptrs:
+ .space 8
--
2.25.0
More information about the Linuxppc-dev
mailing list