Re: [PATCH 5/7] mm/follow_page_mask: Add support for hugepage directory entry

From: kbuild test robot
Date: Mon Apr 17 2017 - 14:31:07 EST


Hi Aneesh,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc7 next-20170413]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/HugeTLB-migration-support-for-PPC64/20170418-011540
config: x86_64-randconfig-a0-04180109 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

In file included from mm//swap.c:35:
>> include/linux/hugetlb.h:121: error: expected declaration specifiers or '...' before 'hugepd_t'

vim +121 include/linux/hugetlb.h

115 unsigned long addr, unsigned long sz);
116 pte_t *huge_pte_offset(struct mm_struct *mm, unsigned long addr);
117 int huge_pmd_unshare(struct mm_struct *mm, unsigned long *addr, pte_t *ptep);
118 struct page *follow_huge_addr(struct mm_struct *mm, unsigned long address,
119 int write);
120 struct page *follow_huge_pd(struct vm_area_struct *vma,
> 121 unsigned long address, hugepd_t hpd,
122 int flags, int pdshift);
123 struct page *follow_huge_pmd(struct mm_struct *mm, unsigned long address,
124 pmd_t *pmd, int flags);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip