tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git 
topic-zol-remove
head:   f99cae5917cbdb1770c80efae00095d183fe4098
commit: f99cae5917cbdb1770c80efae00095d183fe4098 [17/17] ARC: atomics: split 
off NPS bitops
config: arc-allyesconfig (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f99cae5917cbdb1770c80efae00095d183fe4098
        # save the attached .config to linux build tree
        GCC_VERSION=9.3.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <l...@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/arc/include/asm/atomic.h:13,
                    from include/linux/atomic.h:7,
                    from include/asm-generic/bitops/lock.h:5,
                    from arch/arc/include/asm/bitops.h:426,
                    from include/linux/bitops.h:26,
                    from include/linux/kernel.h:12,
                    from include/asm-generic/bug.h:19,
                    from arch/arc/include/asm/bug.h:29,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   arch/arc/include/asm/cmpxchg.h: In function '__xchg':
   arch/arc/include/asm/cmpxchg.h:191:19: error: 'CTOP_INST_XEX_DI_R2_R2_R3' 
undeclared (first use in this function)
     191 |   : "r"(ptr), "i"(CTOP_INST_XEX_DI_R2_R2_R3)
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arc/include/asm/cmpxchg.h:191:19: note: each undeclared identifier is 
reported only once for each function it appears in
   In file included from include/linux/atomic.h:7,
                    from include/asm-generic/bitops/lock.h:5,
                    from arch/arc/include/asm/bitops.h:426,
                    from include/linux/bitops.h:26,
                    from include/linux/kernel.h:12,
                    from include/asm-generic/bug.h:19,
                    from arch/arc/include/asm/bug.h:29,
                    from include/linux/bug.h:5,
                    from include/linux/page-flags.h:10,
                    from kernel/bounds.c:10:
   arch/arc/include/asm/atomic.h: At top level:
>> arch/arc/include/asm/atomic.h:193:10: fatal error: asm/atomic-nps.h: No such 
>> file or directory
     193 | #include <asm/atomic-nps.h>
         |          ^~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:99: kernel/bounds.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1113: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:179: sub-make] Error 2
   17 real  3 user  5 sys  51.29% cpu   make prepare

vim +193 arch/arc/include/asm/atomic.h

   192  
 > 193  #include <asm/atomic-nps.h>
   194  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org

Attachment: .config.gz
Description: application/gzip

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Reply via email to