# git rev-parse -q --verify 28ea4692e6a003f58f5b4a85c7e747f204802c57^{commit} 28ea4692e6a003f58f5b4a85c7e747f204802c57 already have revision, skipping fetch # git checkout -q -f -B kisskb 28ea4692e6a003f58f5b4a85c7e747f204802c57 # git clean -qxdf # < git log -1 # commit 28ea4692e6a003f58f5b4a85c7e747f204802c57 # Author: Christophe Leroy # Date: Mon May 28 12:31:19 2018 +0000 # # powerpc/8xx: set GUARDED attribute in the PMD directly # # On the 8xx, the GUARDED attribute of the pages is managed in the # L1 entry, therefore to avoid having to copy it into L1 entry # at each TLB miss, we set it in the PMD. # # Signed-off-by: Christophe Leroy # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 28ea4692e6a003f58f5b4a85c7e747f204802c57 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- wii_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/include/asm/thread_info.h:29:0, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/arch/powerpc/mm/pgtable_32.c:23: /kisskb/src/arch/powerpc/mm/pgtable_32.c: In function 'early_pte_alloc_kernel': /kisskb/src/arch/powerpc/mm/pgtable_32.c:236:37: error: 'PTE_FRAG_SIZE' undeclared (first use in this function) pte_t *ptep = __va(memblock_alloc(PTE_FRAG_SIZE, PTE_FRAG_SIZE)); ^ /kisskb/src/arch/powerpc/include/asm/page.h:243:56: note: in definition of macro '__va' #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START)) ^ /kisskb/src/arch/powerpc/mm/pgtable_32.c:236:37: note: each undeclared identifier is reported only once for each function it appears in pte_t *ptep = __va(memblock_alloc(PTE_FRAG_SIZE, PTE_FRAG_SIZE)); ^ /kisskb/src/arch/powerpc/include/asm/page.h:243:56: note: in definition of macro '__va' #define __va(x) ((void *)(unsigned long)((phys_addr_t)(x) + PAGE_OFFSET - MEMORY_START)) ^ make[2]: *** [/kisskb/src/scripts/Makefile.build:306: arch/powerpc/mm/pgtable_32.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1062: arch/powerpc/mm] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/chleroy_wii_defconfig_powerpc-gcc5 # Build took: 0:00:13.153947