[sparc:master 7/9] arch/sparc/mm/tsb.c:155:3: error: implicit declaration of function '__flush_huge_tsb_one_entry'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master
head:   cd429ce2d095041d249ec85feaed608bbf72154f
commit: dcd1912d21a02534d1f0a9005d5ba3283f164780 [7/9] sparc64: Add 64K page size support
config: sparc64-allnoconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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 dcd1912d21a02534d1f0a9005d5ba3283f164780
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   arch/sparc/mm/tsb.c: In function 'flush_tsb_user_page':
>> arch/sparc/mm/tsb.c:155:3: error: implicit declaration of function '__flush_huge_tsb_one_entry' [-Werror=implicit-function-declaration]
      __flush_huge_tsb_one_entry(base, vaddr, PAGE_SHIFT, nentries,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +/__flush_huge_tsb_one_entry +155 arch/sparc/mm/tsb.c

   149	
   150		if (hugepage_shift < HPAGE_SHIFT) {
   151			base = (unsigned long) mm->context.tsb_block[MM_TSB_BASE].tsb;
   152			nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries;
   153			if (tlb_type == cheetah_plus || tlb_type == hypervisor)
   154				base = __pa(base);
 > 155			__flush_huge_tsb_one_entry(base, vaddr, PAGE_SHIFT, nentries,
   156						   hugepage_shift);
   157		}
   158	#if defined(CONFIG_HUGETLB_PAGE) || defined(CONFIG_TRANSPARENT_HUGEPAGE)

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux