# 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-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 5e45834c3b34d6321f70a5267533e632bf8e773a # < make -s -j 48 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 48 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 48 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 48 ARCH=x86 O=/kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_x86_64_defconfig_x86_64-gcc8 # Build took: 0:02:23.585041