# 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-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 6c0a8f6b5a45ac892a763b6299bd3c5324fc5e02 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ppc44x_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:635:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:340:21: note: 'pdeo' was declared here /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1822:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1732:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here arch/powerpc/boot/ebony.dtb: Warning (pci_bridge): /plb/pci@20ec00000: missing bus-range for PCI bridge arch/powerpc/boot/ebony.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/bamboo.dtb: Warning (pci_bridge): /plb/pci@ec000000: missing bus-range for PCI bridge arch/powerpc/boot/bamboo.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/sam440ep.dtb: Warning (pci_bridge): /plb/pci@ec000000: missing bus-range for PCI bridge arch/powerpc/boot/sam440ep.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/sequoia.dtb: Warning (pci_bridge): /plb/pci@1ec000000: missing bus-range for PCI bridge arch/powerpc/boot/sequoia.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/rainier.dtb: Warning (pci_bridge): /plb/pci@1ec000000: missing bus-range for PCI bridge arch/powerpc/boot/rainier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/taishan.dtb: Warning (pci_bridge): /plb/pci@20ec00000: missing bus-range for PCI bridge arch/powerpc/boot/taishan.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/yosemite.dtb: Warning (pci_bridge): /plb/pci@ec000000: missing bus-range for PCI bridge arch/powerpc/boot/yosemite.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5093b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2557544 Bytes = 2497.60 kB = 2.44 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:37 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2581961 Bytes = 2521.45 kB = 2.46 MB Load Address: 00600000 Entry Point: 006000a4 INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x519a64) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2581784 Bytes = 2521.27 kB = 2.46 MB Load Address: 00600000 Entry Point: 00601114 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2583243 Bytes = 2522.70 kB = 2.46 MB Load Address: 00600000 Entry Point: 0060110c Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2581856 Bytes = 2521.34 kB = 2.46 MB Load Address: 00600000 Entry Point: 0060110c Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2581792 Bytes = 2521.28 kB = 2.46 MB Load Address: 00600000 Entry Point: 00600178 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2582015 Bytes = 2521.50 kB = 2.46 MB Load Address: 00600000 Entry Point: 00601104 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2582195 Bytes = 2521.67 kB = 2.46 MB Load Address: 00600000 Entry Point: 006010f4 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:39 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2581875 Bytes = 2521.36 kB = 2.46 MB Load Address: 00600000 Entry Point: 00601100 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:23:39 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2581898 Bytes = 2521.38 kB = 2.46 MB Load Address: 00600000 Entry Point: 00601118 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc # Build took: 0:01:01.144308