tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: dcaa9a3e88c4082096bfed62d9de2d9b6ad9e3d6 commit: 878b6f5bcef8de64a5c39b685e785166357bf0dc [9078/9582] mm-hugetlb-proc-add-hugetlbpages-field-to-proc-pid-status-fix-3 config: arm64-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 878b6f5bcef8de64a5c39b685e785166357bf0dc # save the attached .config to linux build tree make.cross ARCH=arm64 All warnings (new ones prefixed by >>): In file included from include/linux/mm.h:54:0, from arch/arm64/kernel/asm-offsets.c:22: >> arch/arm64/include/asm/pgtable.h:238:0: warning: "HUGE_MAX_HSTATE" redefined #define HUGE_MAX_HSTATE 2 ^ In file included from include/linux/sched.h:27:0, from arch/arm64/kernel/asm-offsets.c:21: include/linux/mm_types.h:372:0: note: this is the location of the previous definition #define HUGE_MAX_HSTATE 1 ^ -- In file included from include/linux/mm.h:54:0, from arch/arm64/kernel/asm-offsets.c:22: >> arch/arm64/include/asm/pgtable.h:238:0: warning: "HUGE_MAX_HSTATE" redefined #define HUGE_MAX_HSTATE 2 ^ In file included from include/linux/sched.h:27:0, from arch/arm64/kernel/asm-offsets.c:21: include/linux/mm_types.h:372:0: note: this is the location of the previous definition #define HUGE_MAX_HSTATE 1 ^ :1253:2: warning: #warning syscall userfaultfd not implemented [-Wcpp] vim +/HUGE_MAX_HSTATE +238 arch/arm64/include/asm/pgtable.h c2c93e5b Steve Capper 2014-01-15 222 else c2c93e5b Steve Capper 2014-01-15 223 pte_val(pte) |= PTE_RDONLY; 02522463 Will Deacon 2013-01-09 224 } 02522463 Will Deacon 2013-01-09 225 4f04d8f0 Catalin Marinas 2012-03-05 226 set_pte(ptep, pte); 4f04d8f0 Catalin Marinas 2012-03-05 227 } 4f04d8f0 Catalin Marinas 2012-03-05 228 4f04d8f0 Catalin Marinas 2012-03-05 229 /* 4f04d8f0 Catalin Marinas 2012-03-05 230 * Huge pte definitions. 4f04d8f0 Catalin Marinas 2012-03-05 231 */ 084bd298 Steve Capper 2013-04-10 232 #define pte_huge(pte) (!(pte_val(pte) & PTE_TABLE_BIT)) 084bd298 Steve Capper 2013-04-10 233 #define pte_mkhuge(pte) (__pte(pte_val(pte) & ~PTE_TABLE_BIT)) 084bd298 Steve Capper 2013-04-10 234 084bd298 Steve Capper 2013-04-10 235 /* 084bd298 Steve Capper 2013-04-10 236 * Hugetlb definitions. 084bd298 Steve Capper 2013-04-10 237 */ 084bd298 Steve Capper 2013-04-10 @238 #define HUGE_MAX_HSTATE 2 084bd298 Steve Capper 2013-04-10 239 #define HPAGE_SHIFT PMD_SHIFT 084bd298 Steve Capper 2013-04-10 240 #define HPAGE_SIZE (_AC(1, UL) << HPAGE_SHIFT) 084bd298 Steve Capper 2013-04-10 241 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) 084bd298 Steve Capper 2013-04-10 242 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) 4f04d8f0 Catalin Marinas 2012-03-05 243 4f04d8f0 Catalin Marinas 2012-03-05 244 #define __HAVE_ARCH_PTE_SPECIAL 4f04d8f0 Catalin Marinas 2012-03-05 245 29e56940 Steve Capper 2014-10-09 246 static inline pte_t pud_pte(pud_t pud) :::::: The code at line 238 was first introduced by commit :::::: 084bd29810a5689e423d2f085255a3200a03a06e ARM64: mm: HugeTLB support. :::::: TO: Steve Capper :::::: CC: Steve Capper --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation