# git rev-parse -q --verify 97e45d469eb180a7bd2809e4e079331552c73e42^{commit} 97e45d469eb180a7bd2809e4e079331552c73e42 already have revision, skipping fetch # git checkout -q -f -B kisskb 97e45d469eb180a7bd2809e4e079331552c73e42 # git clean -qxdf # < git log -1 # commit 97e45d469eb180a7bd2809e4e079331552c73e42 # Author: Randy Dunlap # Date: Sat Feb 4 09:22:06 2023 -0800 # # powerpc/kexec_file: fix implicit decl error # # kexec (PPC64) code calls memory_hotplug_max(). Add the header # declaration for it from . Using does not # work since the #include for depends on CONFIG_NUMA=y, # which is not always set. # # Fixes this build error/warning: # # arch/powerpc/kexec/file_load_64.c: In function 'kexec_extra_fdt_size_ppc64': # arch/powerpc/kexec/file_load_64.c:993:33: error: implicit declaration of function 'memory_hotplug_max' # 993 | usm_entries = ((memory_hotplug_max() / drmem_lmb_size()) + # | ^~~~~~~~~~~~~~~~~~ # # Fixes: fc546faa5595 ("powerpc/kexec_file: Count hot-pluggable memory in FDT estimate") # Signed-off-by: Randy Dunlap # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20230204172206.7662-1-rdunlap@infradead.org # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 97e45d469eb180a7bd2809e4e079331552c73e42 # < make -s -j 24 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # < make -s -j 24 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 24 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig # make -s -j 24 ARCH=mips O=/kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0" Completed OK # rm -rf /kisskb/build/powerpc-fixes_mips-defconfig_mipsel-gcc5 # Build took: 0:02:45.471239