tree: git://git.cmpxchg.org/linux-mmotm.git master head: 5b220005fda0593464fc4549eea586e597bf783c commit: 89cc4c46458ccdfab15b2fe94a5645766d5091aa [265/276] mm/hmm/devmem: device memory hotplug using ZONE_DEVICE config: sparc64-allyesconfig (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 89cc4c46458ccdfab15b2fe94a5645766d5091aa # 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:369:53: error: macro "pte_index" requires 2 arguments, but only 1 given unsigned long pfn = pmd_pfn(pmd) + pte_index(addr); ^ mm/hmm.c:369:39: error: 'pte_index' undeclared (first use in this function) unsigned long pfn = pmd_pfn(pmd) + pte_index(addr); ^~~~~~~~~ mm/hmm.c:369:39: note: each undeclared identifier is reported only once for each function it appears in mm/hmm.c: In function 'hmm_devmem_release': >> mm/hmm.c:815:2: error: implicit declaration of function 'arch_remove_memory' [-Werror=implicit-function-declaration] arch_remove_memory(align_start, align_size, devmem->pagemap.type); ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/arch_remove_memory +815 mm/hmm.c 809 810 /* pages are dead and unused, undo the arch mapping */ 811 align_start = resource->start & ~(SECTION_SIZE - 1); 812 align_size = ALIGN(resource_size(resource), SECTION_SIZE); 813 814 mem_hotplug_begin(); > 815 arch_remove_memory(align_start, align_size, devmem->pagemap.type); 816 mem_hotplug_done(); 817 818 untrack_pfn(NULL, PHYS_PFN(align_start), align_size); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip