# git rev-parse -q --verify 462951cd32e1496dc64b00051dfb777efc8ae5d8^{commit} 462951cd32e1496dc64b00051dfb777efc8ae5d8 already have revision, skipping fetch # git checkout -q -f -B kisskb 462951cd32e1496dc64b00051dfb777efc8ae5d8 # git clean -qxdf # < git log -1 # commit 462951cd32e1496dc64b00051dfb777efc8ae5d8 # Author: Michael Ellerman # Date: Mon Nov 26 12:59:16 2018 +1100 # # powerpc/mm: Fix linux page tables build with some configs # # For some configs the build fails with: # # arch/powerpc/mm/dump_linuxpagetables.c: In function 'populate_markers': # arch/powerpc/mm/dump_linuxpagetables.c:306:39: error: 'PKMAP_BASE' undeclared (first use in this function) # arch/powerpc/mm/dump_linuxpagetables.c:314:50: error: 'LAST_PKMAP' undeclared (first use in this function) # # These come from highmem.h, including that fixes the build. # # 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 462951cd32e1496dc64b00051dfb777efc8ae5d8 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 85xx/sbc8548_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_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:186:16: warning: 'old' 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:341: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:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x464208) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x453bc0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.20.0-rc1-g462951cd32e1 Created: Tue Nov 27 20:46:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2199427 Bytes = 2147.88 KiB = 2.10 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc1-g462951cd32e1 Created: Tue Nov 27 20:46:40 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2228956 Bytes = 2176.71 KiB = 2.13 MiB Load Address: 00500000 Entry Point: 005002a8 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc # Build took: 0:00:35.193058