# git rev-parse -q --verify 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f^{commit} 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f already have revision, skipping fetch # git checkout -q -f -B kisskb 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f # git clean -qxdf # < git log -1 # commit 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f # Author: Ram Pai # Date: Tue Mar 27 02:09:28 2018 -0700 # # mm, x86, powerpc: display pkey in smaps only if arch supports pkeys # # Currently the architecture specific code is expected to # display the protection keys in smap for a given vma. # This can lead to redundant code and possibly to divergent # formats in which the key gets displayed. # # This patch changes the implementation. It displays the # pkey only if the architecture support pkeys, i.e # arch_pkeys_enabled() returns true. This patch # provides x86 implementation for arch_pkeys_enabled(). # # x86 arch_show_smap() function is not needed anymore. # Deleting it. # # cc: Michael Ellermen # cc: Benjamin Herrenschmidt # cc: Andrew Morton # Reviewed-by: Dave Hansen # Signed-off-by: Thiago Jung Bauermann # (fixed compilation errors for x86 configs) # Acked-by: Michal Hocko # Reviewed-by: Ingo Molnar # Signed-off-by: Ram Pai # [mpe: Don't remove include of asm/mmu_context.h from pkeys.h, to avoid # build errors on some configs.] # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 3909c5f6d66dd7a56899e1c7a0a65284a0d3423f # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pmac32_defconfig+kexec_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig configs/2006/11/29/pmac32_defconfigkexec # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pmac32_defconfig+kexec_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_pmac32_defconfig+kexec_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:220:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ INFO: Uncompressed kernel (size 0x88a2f4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x900000) Completed OK # rm -rf /kisskb/build/powerpc-next_pmac32_defconfig+kexec_powerpc-5.3 # Build took: 0:01:41.131145