# git rev-parse -q --verify c1bea0a840ac75dca19bc6aa05575a33eb9fd058^{commit} c1bea0a840ac75dca19bc6aa05575a33eb9fd058 already have revision, skipping fetch # git checkout -q -f -B kisskb c1bea0a840ac75dca19bc6aa05575a33eb9fd058 # git clean -qxdf # < git log -1 # commit c1bea0a840ac75dca19bc6aa05575a33eb9fd058 # Author: Michael Ellerman # Date: Tue Dec 15 12:57:20 2020 +1100 # # 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 # Signed-off-by: Nicholas Piggin # [mpe: Change log based on comments from Nick] # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 c1bea0a840ac75dca19bc6aa05575a33eb9fd058 # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/fsp2_defconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_fsp2_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/kernel/rcu/update.c:578:0: /kisskb/src/kernel/rcu/tasks.h:710:13: warning: 'show_rcu_tasks_rude_gp_kthread' defined but not used [-Wunused-function] static void show_rcu_tasks_rude_gp_kthread(void) {} ^ INFO: Uncompressed kernel (size 0xa58e40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.10.0-rc2-gc1bea0a840ac Created: Thu Dec 17 20:00:28 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4542074 Bytes = 4435.62 KiB = 4.33 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_44x_fsp2_defconfig_powerpc-gcc5 # Build took: 0:00:44.629152