tree: git://git.cmpxchg.org/linux-mmotm.git master head: 7207a315977b07013f25ae9a3c1f8168facb6343 commit: 208a47487f7214b16bef56aac912d26b60a43f9a [122/249] mm: update generic gup implementation to handle hugepage directory config: arm-omap2plus_defconfig (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 208a47487f7214b16bef56aac912d26b60a43f9a # save the attached .config to linux build tree make.cross ARCH=arm All warnings: In file included from include/linux/mm.h:52:0, from mm/gup.c:7: >> arch/arm/include/asm/pgtable.h:184:0: warning: "pgd_huge" redefined #define pgd_huge(pgd) (0) ^ In file included from mm/gup.c:6:0: include/linux/hugetlb.h:183:0: note: this is the location of the previous definition #define pgd_huge(x) 0 ^ In file included from include/linux/mm.h:52:0, from mm/gup.c:7: >> arch/arm/include/asm/pgtable.h:184:0: warning: "pgd_huge" redefined #define pgd_huge(pgd) (0) ^ In file included from mm/gup.c:6:0: include/linux/hugetlb.h:183:0: note: this is the location of the previous definition #define pgd_huge(x) 0 ^ vim +/pgd_huge +184 arch/arm/include/asm/pgtable.h 168 * for zero-mapped memory areas etc.. 169 */ 170 extern struct page *empty_zero_page; 171 #define ZERO_PAGE(vaddr) (empty_zero_page) 172 173 174 extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; 175 176 /* to find an entry in a page-table-directory */ 177 #define pgd_index(addr) ((addr) >> PGDIR_SHIFT) 178 179 #define pgd_offset(mm, addr) ((mm)->pgd + pgd_index(addr)) 180 181 /* to find an entry in a kernel page-table-directory */ 182 #define pgd_offset_k(addr) pgd_offset(&init_mm, addr) 183 > 184 #define pgd_huge(pgd) (0) 185 186 #define pmd_none(pmd) (!pmd_val(pmd)) 187 #define pmd_present(pmd) (pmd_val(pmd)) 188 189 static inline pte_t *pmd_page_vaddr(pmd_t pmd) 190 { 191 return __va(pmd_val(pmd) & PHYS_MASK & (s32)PAGE_MASK); 192 } --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation