tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e6455bc5b91f41f842f30465c9193320f0568707 commit: cbba4e22584984bffccd07e0801fd2b8ec1ecf5f [6277/6751] Move /proc/kpageidle to /sys/kernel/mm/page_idle/bitmap config: blackfin-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 cbba4e22584984bffccd07e0801fd2b8ec1ecf5f # save the attached .config to linux build tree make.cross ARCH=blackfin All error/warnings (new ones prefixed by >>): mm/page_idle.c: In function 'page_idle_clear_pte_refs_one': mm/page_idle.c:67:4: error: implicit declaration of function 'pmdp_test_and_clear_young' [-Werror=implicit-function-declaration] mm/page_idle.c:71:3: error: implicit declaration of function 'page_check_address' [-Werror=implicit-function-declaration] mm/page_idle.c:71:7: warning: assignment makes pointer from integer without a cast [enabled by default] mm/page_idle.c:73:4: error: implicit declaration of function 'ptep_test_and_clear_young' [-Werror=implicit-function-declaration] >> mm/page_idle.c:74:4: error: implicit declaration of function 'pte_unmap' [-Werror=implicit-function-declaration] mm/page_idle.c: In function 'page_idle_clear_pte_refs': mm/page_idle.c:95:22: error: variable 'rwc' has initializer but incomplete type mm/page_idle.c:96:3: error: unknown field 'rmap_one' specified in initializer mm/page_idle.c:96:3: warning: excess elements in struct initializer [enabled by default] mm/page_idle.c:96:3: warning: (near initialization for 'rwc') [enabled by default] mm/page_idle.c:97:3: error: unknown field 'anon_lock' specified in initializer mm/page_idle.c:97:16: error: 'page_lock_anon_vma_read' undeclared (first use in this function) mm/page_idle.c:97:16: note: each undeclared identifier is reported only once for each function it appears in mm/page_idle.c:97:3: warning: excess elements in struct initializer [enabled by default] mm/page_idle.c:97:3: warning: (near initialization for 'rwc') [enabled by default] mm/page_idle.c:95:40: error: storage size of 'rwc' isn't known mm/page_idle.c:109:2: error: implicit declaration of function 'rmap_walk' [-Werror=implicit-function-declaration] mm/page_idle.c:95:40: warning: unused variable 'rwc' [-Wunused-variable] cc1: some warnings being treated as errors vim +/pte_unmap +74 mm/page_idle.c 61 bool referenced = false; 62 63 if (unlikely(PageTransHuge(page))) { 64 pmd = page_check_address_pmd(page, mm, addr, 65 PAGE_CHECK_ADDRESS_PMD_FLAG, &ptl); 66 if (pmd) { > 67 referenced = pmdp_clear_young_notify(vma, addr, pmd); 68 spin_unlock(ptl); 69 } 70 } else { 71 pte = page_check_address(page, mm, addr, &ptl, 0); 72 if (pte) { 73 referenced = ptep_clear_young_notify(vma, addr, pte); > 74 pte_unmap_unlock(pte, ptl); 75 } 76 } 77 if (referenced) { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation