# 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 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/mpc85xx_cds_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8548cds_32b.dtb: Warning (pci_bridge): /pcie@e000a000/pcie@0: missing bus-range for PCI bridge arch/powerpc/boot/mpc8548cds_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0x4de564) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4de564) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4de564) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4cdeb8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 16:44:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2509064 Bytes = 2450.26 kB = 2.39 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 16:44:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2533018 Bytes = 2473.65 kB = 2.42 MB Load Address: 00500000 Entry Point: 0050020c Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 16:44:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2534237 Bytes = 2474.84 kB = 2.42 MB Load Address: 00500000 Entry Point: 0050020c Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 16:44:54 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2533023 Bytes = 2473.66 kB = 2.42 MB Load Address: 00500000 Entry Point: 0050020c Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-5.3 # Build took: 0:00:54.927762