[mips-sjhill:mips-for-linux-next 36/41] arch/mips/mm/c-r4k.c:867:27: error: implicit declaration of function 'pa_to_nid'

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

 



tree:   git://git.linux-mips.org/pub/scm/sjhill/linux-sjhill.git mips-for-linux-next
head:   0554f2ed67f10bb983c7feba069afbfa892e368f
commit: 164beb8f00d95f480330065ef89d48701c07fc6a [36/41] MIPS: c-r4k: Add r4k_blast_scache_node for Loongson-3
config: mips-allyesconfig (attached as .config)
compiler: mips-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 164beb8f00d95f480330065ef89d48701c07fc6a
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   arch/mips/mm/c-r4k.c: In function 'r4k_dma_cache_wback_inv':
>> arch/mips/mm/c-r4k.c:867:27: error: implicit declaration of function 'pa_to_nid' [-Werror=implicit-function-declaration]
        r4k_blast_scache_node(pa_to_nid(addr));
                              ^~~~~~~~~
   cc1: all warnings being treated as errors

vim +/pa_to_nid +867 arch/mips/mm/c-r4k.c

   861		preempt_disable();
   862		if (cpu_has_inclusive_pcaches) {
   863			if (size >= scache_size) {
   864				if (current_cpu_type() != CPU_LOONGSON3)
   865					r4k_blast_scache();
   866				else
 > 867					r4k_blast_scache_node(pa_to_nid(addr));
   868			} else
   869				blast_scache_range(addr, addr + size);
   870			preempt_enable();

---
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]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux