# git rev-parse -q --verify 259b6eb7caed6eebd8b9dfddeaa44ee56358ce65^{commit} 259b6eb7caed6eebd8b9dfddeaa44ee56358ce65 already have revision, skipping fetch # git checkout -q -f -B kisskb 259b6eb7caed6eebd8b9dfddeaa44ee56358ce65 # git clean -qxdf # git log -1 commit 259b6eb7caed6eebd8b9dfddeaa44ee56358ce65 Author: Benjamin Herrenschmidt Date: Tue Jul 5 15:07:51 2016 +1000 powerpc: Merge 32-bit and 64-bit setup_arch() There is little enough differences now. mpe: Add a/p/k/setup.h to contain the prototypes and empty versions of functions we need, rather than using weak functions. Add a few other empty versions to avoid as many #ifdefs as possible in the code. Signed-off-by: Benjamin Herrenschmidt 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 259b6eb7caed6eebd8b9dfddeaa44ee56358ce65 # < make -j 48 ARCH=powerpc O=/home/kisskb/slave/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # make -j 48 ARCH=powerpc O=/home/kisskb/slave/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- make[1]: Entering directory '/home/kisskb/slave/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release GEN ./Makefile CHK include/generated/uapi/linux/version.h Using /home/kisskb/slave/src as source for kernel CHK include/generated/utsrelease.h CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o CALL /home/kisskb/slave/src/arch/powerpc/kernel/systbl_chk.sh LD init/built-in.o GZIP kernel/config_data.gz CHK kernel/config_data.h LINK vmlinux LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o KSYM .tmp_kallsyms1.o KSYM .tmp_kallsyms2.o LD vmlinux SYSMAP System.map Building modules, stage 2. MODPOST 26 modules BOOTCC arch/powerpc/boot/cpm-serial.o BOOTAS arch/powerpc/boot/crt0.o BOOTAS arch/powerpc/boot/crtsavres.o BOOTCC arch/powerpc/boot/cuboot.o BOOTCC arch/powerpc/boot/devtree.o COPY arch/powerpc/boot/fdt.h COPY arch/powerpc/boot/libfdt.h BOOTAS arch/powerpc/boot/div64.o BOOTCC arch/powerpc/boot/elf_util.o COPY arch/powerpc/boot/zlib.h COPY arch/powerpc/boot/zutil.h COPY arch/powerpc/boot/inffast.h COPY arch/powerpc/boot/inffixed.h COPY arch/powerpc/boot/inftrees.h COPY arch/powerpc/boot/libfdt_internal.h COPY arch/powerpc/boot/inflate.h COPY arch/powerpc/boot/zconf.h COPY arch/powerpc/boot/infutil.h BOOTCC arch/powerpc/boot/mpc52xx-psc.o BOOTCC arch/powerpc/boot/mpsc.o BOOTCC arch/powerpc/boot/ns16550.o BOOTCC arch/powerpc/boot/stdio.o /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc -m32 -Wp,-MD,arch/powerpc/boot/.zImage.lds.d -nostdinc -isystem /opt/cross/gcc-5.3.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.3.0/include -I/home/kisskb/slave/src/arch/powerpc/include -Iarch/powerpc/include/generated/uapi -Iarch/powerpc/include/generated -I/home/kisskb/slave/src/include -Iinclude -I/home/kisskb/slave/src/arch/powerpc/include/uapi -Iarch/powerpc/include/generated/uapi -I/home/kisskb/slave/src/include/uapi -Iinclude/generated/uapi -include /home/kisskb/slave/src/include/linux/kconfig.h -D__KERNEL__ -I/home/kisskb/slave/src/arch/powerpc -Iarch/powerpc -E -Wp,-MD,arch/powerpc/boot/.zImage.lds.d -P -Upowerpc \ -D__ASSEMBLY__ -DLINKER_SCRIPT -o arch/powerpc/boot/zImage.lds /home/kisskb/slave/src/arch/powerpc/boot/zImage.lds.S BOOTCC arch/powerpc/boot/serial.o BOOTCC arch/powerpc/boot/ofconsole.o BOOTAS arch/powerpc/boot/string.o BOOTAS arch/powerpc/boot/opal-calls.o BOOTCC arch/powerpc/boot/oflib.o HOSTCC arch/powerpc/boot/hack-coff HOSTCC arch/powerpc/boot/mktree BOOTAS arch/powerpc/boot/util.o BOOTCC arch/powerpc/boot/simple_alloc.o DTC arch/powerpc/boot/mpc8560ads.dtb HOSTCC arch/powerpc/boot/addnote DTC arch/powerpc/boot/mpc8540ads.dtb BOOTCC arch/powerpc/boot/uartlite.o BOOTCC arch/powerpc/boot/epapr.o DTC arch/powerpc/boot/mpc8544ds.dtb BOOTCC arch/powerpc/boot/stdlib.o BOOTCC arch/powerpc/boot/of.o BOOTCC arch/powerpc/boot/cuboot-85xx-cpm2.o BOOTCC arch/powerpc/boot/cuboot-85xx.o DTC arch/powerpc/boot/tqm8541.dtb DTC arch/powerpc/boot/mpc8568mds.dtb DTC arch/powerpc/boot/mpc8572ds.dtb DTC arch/powerpc/boot/mpc8541cds.dtb DTC arch/powerpc/boot/ksi8560.dtb DTC arch/powerpc/boot/sbc8548.dtb DTC arch/powerpc/boot/tqm8540.dtb DTC arch/powerpc/boot/mpc8555cds.dtb DTC arch/powerpc/boot/mpc8548cds_32b.dtb DTC arch/powerpc/boot/tqm8560.dtb DTC arch/powerpc/boot/tqm8555.dtb DTC arch/powerpc/boot/tqm8548.dtb CC crypto/pcbc.mod.o CC drivers/hid/usbhid/usbhid.mod.o CC fs/befs/befs.mod.o CC fs/affs/affs.mod.o CC drivers/input/ff-memless.mod.o CC drivers/tty/serial/ucc_uart.mod.o CC fs/adfs/adfs.mod.o CC fs/bfs/bfs.mod.o CC fs/binfmt_misc.mod.o CC drivers/i2c/busses/i2c-cpm.mod.o CC fs/efs/efs.mod.o COPY arch/powerpc/boot/fdt.c COPY arch/powerpc/boot/fdt_ro.c COPY arch/powerpc/boot/fdt_strerror.c COPY arch/powerpc/boot/fdt_rw.c COPY arch/powerpc/boot/fdt_sw.c COPY arch/powerpc/boot/fdt_wip.c COPY arch/powerpc/boot/inflate.c COPY arch/powerpc/boot/inffast.c COPY arch/powerpc/boot/inftrees.c CC fs/fat/msdos.mod.o CC fs/freevxfs/freevxfs.mod.o BOOTCC arch/powerpc/boot/gunzip_util.o BOOTCC arch/powerpc/boot/libfdt-wrapper.o CC fs/hfsplus/hfsplus.mod.o CC fs/hfs/hfs.mod.o BOOTCC arch/powerpc/boot/fdt_strerror.o BOOTCC arch/powerpc/boot/fdt_sw.o BOOTCC arch/powerpc/boot/opal.o BOOTCC arch/powerpc/boot/main.o BOOTCC arch/powerpc/boot/empty.o BOOTCC arch/powerpc/boot/fdt_ro.o BOOTCC arch/powerpc/boot/fdt.o BOOTCC arch/powerpc/boot/fdt_rw.o CC fs/hpfs/hpfs.mod.o CC fs/isofs/isofs.mod.o BOOTCC arch/powerpc/boot/fdt_wip.o BOOTCC arch/powerpc/boot/inffast.o CC fs/nls/nls_utf8.mod.o CC fs/udf/udf.mod.o CC fs/sysv/sysv.mod.o CC fs/qnx4/qnx4.mod.o CC fs/ufs/ufs.mod.o CC lib/crc-itu-t.mod.o CC lib/libcrc32c.mod.o BOOTCC arch/powerpc/boot/inftrees.o BOOTCC arch/powerpc/boot/inflate.o CC net/sctp/sctp_diag.mod.o CC net/sctp/sctp.mod.o LD [M] fs/adfs/adfs.ko LD [M] fs/binfmt_misc.ko LD [M] drivers/hid/usbhid/usbhid.ko LD [M] fs/fat/msdos.ko LD [M] fs/bfs/bfs.ko LD [M] crypto/pcbc.ko LD [M] fs/isofs/isofs.ko LD [M] drivers/input/ff-memless.ko LD [M] drivers/tty/serial/ucc_uart.ko LD [M] fs/affs/affs.ko LD [M] fs/efs/efs.ko LD [M] fs/sysv/sysv.ko LD [M] drivers/i2c/busses/i2c-cpm.ko LD [M] fs/nls/nls_utf8.ko LD [M] net/sctp/sctp.ko LD [M] fs/befs/befs.ko LD [M] fs/hfsplus/hfsplus.ko LD [M] net/sctp/sctp_diag.ko LD [M] fs/hfs/hfs.ko LD [M] lib/crc-itu-t.ko LD [M] fs/freevxfs/freevxfs.ko LD [M] fs/ufs/ufs.ko LD [M] fs/hpfs/hpfs.ko LD [M] fs/qnx4/qnx4.ko LD [M] fs/udf/udf.ko LD [M] lib/libcrc32c.ko BOOTAR arch/powerpc/boot/wrapper.a WRAP arch/powerpc/boot/uImage WRAP arch/powerpc/boot/cuImage.mpc8540ads WRAP arch/powerpc/boot/cuImage.mpc8560ads WRAP arch/powerpc/boot/cuImage.mpc8541cds WRAP arch/powerpc/boot/cuImage.mpc8548cds_32b WRAP arch/powerpc/boot/cuImage.mpc8555cds WRAP arch/powerpc/boot/cuImage.mpc8568mds WRAP arch/powerpc/boot/cuImage.mpc8544ds WRAP arch/powerpc/boot/cuImage.mpc8572ds WRAP arch/powerpc/boot/cuImage.tqm8541 WRAP arch/powerpc/boot/cuImage.tqm8548 WRAP arch/powerpc/boot/cuImage.tqm8540 WRAP arch/powerpc/boot/cuImage.tqm8560 WRAP arch/powerpc/boot/cuImage.tqm8555 WRAP arch/powerpc/boot/cuImage.sbc8548 WRAP arch/powerpc/boot/cuImage.ksi8560 INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9840e4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) INFO: Uncompressed kernel (size 0x9738e0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:25 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914177 Bytes = 4799.00 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a00278 Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:25 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4915580 Bytes = 4800.37 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:25 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914468 Bytes = 4799.29 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:25 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914102 Bytes = 4798.93 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:25 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914211 Bytes = 4799.03 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:25 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914856 Bytes = 4799.66 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:25 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914125 Bytes = 4798.95 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a00278 Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:25 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914069 Bytes = 4798.90 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:26 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914650 Bytes = 4799.46 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:26 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914107 Bytes = 4798.93 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:26 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914181 Bytes = 4799.00 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:26 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4915625 Bytes = 4800.42 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a0020c Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:26 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4889095 Bytes = 4774.51 kB = 4.66 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:26 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4913930 Bytes = 4798.76 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a00278 Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:26 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914127 Bytes = 4798.95 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a00278 Image Name: Linux-4.7.0-rc3-g259b6eb Created: Thu Jul 21 13:44:26 2016 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4914244 Bytes = 4799.07 kB = 4.69 MB Load Address: 00a00000 Entry Point: 00a00278 rm arch/powerpc/boot/mpc8548cds_32b.dtb arch/powerpc/boot/tqm8560.dtb arch/powerpc/boot/ksi8560.dtb arch/powerpc/boot/tqm8555.dtb arch/powerpc/boot/mpc8560ads.dtb arch/powerpc/boot/mpc8544ds.dtb arch/powerpc/boot/mpc8540ads.dtb arch/powerpc/boot/tqm8548.dtb arch/powerpc/boot/tqm8540.dtb arch/powerpc/boot/sbc8548.dtb arch/powerpc/boot/mpc8572ds.dtb arch/powerpc/boot/tqm8541.dtb arch/powerpc/boot/mpc8568mds.dtb arch/powerpc/boot/mpc8541cds.dtb arch/powerpc/boot/mpc8555cds.dtb make[1]: Leaving directory '/home/kisskb/slave/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3' Completed OK # rm -rf /home/kisskb/slave/build/powerpc-next_mpc85xx_defconfig_powerpc-5.3 # Build took: 0:00:25.688236