# git rev-parse -q --verify 6c0a8f6b5a45ac892a763b6299bd3c5324fc5e02^{commit} 6c0a8f6b5a45ac892a763b6299bd3c5324fc5e02 already have revision, skipping fetch # git checkout -q -f -B kisskb 6c0a8f6b5a45ac892a763b6299bd3c5324fc5e02 # git clean -qxdf # < git log -1 # commit 6c0a8f6b5a45ac892a763b6299bd3c5324fc5e02 # Author: Michael Ellerman # Date: Tue May 8 14:59:56 2018 +1000 # # powerpc/pseries: Fix CONFIG_NUMA=n build # # The build is failing with CONFIG_NUMA=n and some compiler versions: # # arch/powerpc/platforms/pseries/hotplug-cpu.o: In function `dlpar_online_cpu': # hotplug-cpu.c:(.text+0x12c): undefined reference to `timed_topology_update' # arch/powerpc/platforms/pseries/hotplug-cpu.o: In function `dlpar_cpu_remove': # hotplug-cpu.c:(.text+0x400): undefined reference to `timed_topology_update' # # Fix it by moving the empty version of timed_topology_update() into the # existing #ifdef block, which has the right guard of SPLPAR && NUMA. # # Fixes: cee5405da402 ("powerpc/hotplug: Improve responsiveness of hotplug change") # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 6c0a8f6b5a45ac892a763b6299bd3c5324fc5e02 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+KVM_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM=y # Added to kconfig CONFIG_KVM_BOOK3S_32=m # Added to kconfig # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+KVM_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+KVM_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:220:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ INFO: Uncompressed kernel (size 0x8a04a4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) Completed OK # rm -rf /kisskb/build/powerpc-fixes_pmac32_defconfig+KVM_powerpc-5.3 # Build took: 0:01:38.442039