# git rev-parse -q --verify 5e45834c3b34d6321f70a5267533e632bf8e773a^{commit} 5e45834c3b34d6321f70a5267533e632bf8e773a already have revision, skipping fetch # git checkout -q -f -B kisskb 5e45834c3b34d6321f70a5267533e632bf8e773a # git clean -qxdf # < git log -1 # commit 5e45834c3b34d6321f70a5267533e632bf8e773a # Author: Sebastian Andrzej Siewior # Date: Fri Feb 19 17:56:48 2021 +0100 # # powerpc/mm: Move the linear_mapping_mutex to the ifdef where it is used # # The mutex linear_mapping_mutex is defined at the of the file while its # only two user are within the CONFIG_MEMORY_HOTPLUG block. # A compile without CONFIG_MEMORY_HOTPLUG set fails on PREEMPT_RT because # its mutex implementation is smart enough to realize that it is unused. # # Move the definition of linear_mapping_mutex to ifdef block where it is # used. # # Fixes: 1f73ad3e8d755 ("powerpc/mm: print warning in arch_remove_linear_mapping()") # Signed-off-by: Sebastian Andrzej Siewior # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210219165648.2505482-1-bigeasy@linutronix.de # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 5e45834c3b34d6321f70a5267533e632bf8e773a # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_MEMORY_HOTPLUG=y # Added to kconfig CONFIG_MEMORY_HOTREMOVE=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/fs/btrfs/tree-checker.c: In function 'check_root_item': /kisskb/src/fs/btrfs/tree-checker.c:1071:9: warning: missing braces around initializer [-Wmissing-braces] struct btrfs_root_item ri = { 0 }; ^ /kisskb/src/fs/btrfs/tree-checker.c:1071:9: warning: (near initialization for 'ri.inode') [-Wmissing-braces] /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c: In function 'cxgb4_write_partial_sgl': /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: missing braces around initializer [-Wmissing-braces] struct ulptx_sge_pair buf[MAX_SKB_FRAGS / 2 + 1] = {0}, *to; ^ /kisskb/src/drivers/net/ethernet/chelsio/cxgb4/sge.c:910:9: warning: (near initialization for 'buf[0]') [-Wmissing-braces] Completed OK # rm -rf /kisskb/build/powerpc-next_pseries_defconfig+NO_MEMORY_HOTREMOVE_powerpc-gcc4.9 # Build took: 0:03:04.176959