tree: git://git.cmpxchg.org/linux-mmotm.git master head: 5b220005fda0593464fc4549eea586e597bf783c commit: 2c0105e7013870a0ce04fb21d68293fdba7c3459 [261/276] mm/hmm/mirror: helper to snapshot CPU page table config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 2c0105e7013870a0ce04fb21d68293fdba7c3459 # save the attached .config to linux build tree make.cross ARCH=sparc64 All errors (new ones prefixed by >>): mm/hmm.c: In function 'hmm_vma_walk_pmd': >> mm/hmm.c:303:53: error: macro "pte_index" requires 2 arguments, but only 1 given unsigned long pfn = pmd_pfn(pmd) + pte_index(addr); ^ >> mm/hmm.c:303:39: error: 'pte_index' undeclared (first use in this function) unsigned long pfn = pmd_pfn(pmd) + pte_index(addr); ^~~~~~~~~ mm/hmm.c:303:39: note: each undeclared identifier is reported only once for each function it appears in vim +/pte_index +303 mm/hmm.c 297 return hmm_vma_walk_hole(start, end, walk); 298 299 if (pmd_bad(pmd) || pmd_protnone(pmd)) 300 return hmm_vma_walk_clear(start, end, walk); 301 302 if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) { > 303 unsigned long pfn = pmd_pfn(pmd) + pte_index(addr); 304 305 flag |= pmd_write(pmd) ? HMM_PFN_WRITE : 0; 306 for (; addr < end; addr += PAGE_SIZE, i++, pfn++) --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation