Re: [PATCH] mm: move huge_pmd_set_accessed out of huge_memory.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test ERROR on v4.6-rc4]
[also build test ERROR on next-20160420]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Yang-Shi/mm-move-huge_pmd_set_accessed-out-of-huge_memory-c/20160421-025318
config: powerpc-allyesconfig (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
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   mm/memory.c: In function 'huge_pmd_set_accessed':
>> mm/memory.c:3307:3: error: implicit declaration of function 'update_mmu_cache_pmd' [-Werror=implicit-function-declaration]
      update_mmu_cache_pmd(vma, address, pmd);
      ^
   cc1: some warnings being treated as errors

vim +/update_mmu_cache_pmd +3307 mm/memory.c

  3301		if (unlikely(!pmd_same(*pmd, orig_pmd)))
  3302			goto unlock;
  3303	
  3304		entry = pmd_mkyoung(orig_pmd);
  3305		haddr = address & HPAGE_PMD_MASK;
  3306		if (pmdp_set_access_flags(vma, haddr, pmd, entry, dirty))
> 3307			update_mmu_cache_pmd(vma, address, pmd);
  3308	
  3309	unlock:
  3310		spin_unlock(ptl);

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]