# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 5e45834c3b34d6321f70a5267533e632bf8e773a # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mgcoge_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mgcoge_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mgcoge_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mgcoge_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mgcoge_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_mgcoge_defconfig_powerpc-gcc5 # Build took: 0:01:12.321698