diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-15 12:57:20 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-12-17 14:33:35 +1100 |
commit | c1bea0a840ac75dca19bc6aa05575a33eb9fd058 (patch) | |
tree | c6f8dc1ac657d759cd177c345457c62f6e7396fa /arch/powerpc/mm/book3s64 | |
parent | c15d1f9d03a0f4f68bf52dffdd541c8054e6de35 (diff) |
powerpc/32s: Fix cleanup_cpu_mmu_context() compile bug
Currently pmac32_defconfig with SMP=y doesn't build:
arch/powerpc/platforms/powermac/smp.c:
error: implicit declaration of function 'cleanup_cpu_mmu_context'
It would be nice for consistency if all platforms clear mm_cpumask and
flush TLBs on unplug, but the TLB invalidation bug described in commit
01b0f0eae081 ("powerpc/64s: Trim offlined CPUs from mm_cpumasks") only
applies to 64s and for now we only have the TLB flush code for that
platform.
So just add an empty version for 32-bit Book3S.
Fixes: 01b0f0eae081 ("powerpc/64s: Trim offlined CPUs from mm_cpumasks")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Change log based on comments from Nick]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/book3s64')
0 files changed, 0 insertions, 0 deletions