[akpm-mm:mm-unstable 43/300] arch/arc/include/asm/mmu-arcv2.h:82:9: error: implicit declaration of function 'write_aux_reg'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   60b650ba203e33686b6c3aacf1556805811f8e9e
commit: 627dbcce529e56c04348944e6ffa9cdeebe9fe76 [43/300] asm-generic/io.h: kill vmalloc.h dependency
config: arc-defconfig (https://download.01.org/0day-ci/archive/20240405/202404050828.5pKgmCLu-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240405/202404050828.5pKgmCLu-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404050828.5pKgmCLu-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   In file included from arch/arc/include/asm/mmu.h:21,
                    from arch/arc/include/asm/pgtable.h:14,
                    from include/linux/pgtable.h:6,
                    from include/asm-generic/io.h:1047,
                    from arch/arc/include/asm/io.h:232,
                    from include/linux/io.h:13,
                    from kernel/dma/coherent.c:6:
   arch/arc/include/asm/mmu-arcv2.h: In function 'mmu_setup_asid':
>> arch/arc/include/asm/mmu-arcv2.h:82:9: error: implicit declaration of function 'write_aux_reg' [-Werror=implicit-function-declaration]
      82 |         write_aux_reg(ARC_REG_PID, asid | MMU_ENABLE);
         |         ^~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/write_aux_reg +82 arch/arc/include/asm/mmu-arcv2.h

2cc1121bc993ca Vineet Gupta 2020-10-01  79  
2cc1121bc993ca Vineet Gupta 2020-10-01  80  static inline void mmu_setup_asid(struct mm_struct *mm, unsigned long asid)
2cc1121bc993ca Vineet Gupta 2020-10-01  81  {
2cc1121bc993ca Vineet Gupta 2020-10-01 @82  	write_aux_reg(ARC_REG_PID, asid | MMU_ENABLE);
2cc1121bc993ca Vineet Gupta 2020-10-01  83  }
2cc1121bc993ca Vineet Gupta 2020-10-01  84  

:::::: The code at line 82 was first introduced by commit
:::::: 2cc1121bc993ca3090cc4267bc38d3da61b68602 ARC: mm: disintegrate mmu.h (arcv2 bits out)

:::::: TO: Vineet Gupta <vgupta@xxxxxxxxxx>
:::::: CC: Vineet Gupta <vgupta@xxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




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

  Powered by Linux