summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/nohash/mmu_context.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2024-06-28 22:11:58 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2024-06-28 22:28:47 +1000
commit732b32daef80567a7ef5be3d87ae79b6bfd9d82d (patch)
tree99d25c29d881722329d0047693b25d9099c7fc3f /arch/powerpc/mm/nohash/mmu_context.c
parente939da89d024a0de66b0270f1f1fab5fc44c74dd (diff)
powerpc: Remove core support for 40x
Now that 40x platforms have gone, remove support for 40x in the core of powerpc arch. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20240628121201.130802-4-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/mm/nohash/mmu_context.c')
-rw-r--r--arch/powerpc/mm/nohash/mmu_context.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/mm/nohash/mmu_context.c b/arch/powerpc/mm/nohash/mmu_context.c
index ccd5819b1bd9..92dc028aff1f 100644
--- a/arch/powerpc/mm/nohash/mmu_context.c
+++ b/arch/powerpc/mm/nohash/mmu_context.c
@@ -219,9 +219,6 @@ static void set_context(unsigned long id, pgd_t *pgd)
/* sync */
mb();
} else if (kuap_is_disabled()) {
- if (IS_ENABLED(CONFIG_40x))
- mb(); /* sync */
-
mtspr(SPRN_PID, id);
isync();
}