# 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 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc83xx_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_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/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2497:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1819:6: warning: 'ret' 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/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/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 INFO: Uncompressed kernel (size 0x5fd4c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5fd4c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5fd4c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5fd4c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5fd4c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5fd4c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5ece18) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5fd4c4) 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:25:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3017642 Bytes = 2946.92 kB = 2.88 MB Load Address: 00600000 Entry Point: 00600230 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:25:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3017702 Bytes = 2946.97 kB = 2.88 MB Load Address: 00600000 Entry Point: 00600230 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:25:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3017953 Bytes = 2947.22 kB = 2.88 MB Load Address: 00600000 Entry Point: 00600230 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:25:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3017694 Bytes = 2946.97 kB = 2.88 MB Load Address: 00600000 Entry Point: 00600230 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:25:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2992686 Bytes = 2922.54 kB = 2.85 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:25:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3016129 Bytes = 2945.44 kB = 2.88 MB Load Address: 00600000 Entry Point: 00600230 Image Name: Linux-4.17.0-rc2-g6c0a8f6 Created: Tue May 8 15:25:02 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3017940 Bytes = 2947.21 kB = 2.88 MB Load Address: 00600000 Entry Point: 00600230 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc # Build took: 0:00:46.557080