[openeuler:OLK-6.6 2938/2938] arch/arm64/include/asm/xcall.h:13:31: error: use of undeclared identifier '__NR_syscalls'

tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: 3e16741023a15d92f4be3343cb4d8b508327dda3 commit: b5fb30ccdb3d8ed46e1e740d9aaebcb96f8db97a [2938/2938] arm64: Reserve a kabi in task_struct exclusively for xcall config: arm64-randconfig-004-20250926 (https://download.01.org/0day-ci/archive/20250926/202509261758.dGIOcfV5-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project cafc064fc7a96b3979a023ddae1da2b499d6c954) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250926/202509261758.dGIOcfV5-lkp@i...) 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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202509261758.dGIOcfV5-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/arm64/kernel/xcall.c:10:
arch/arm64/include/asm/xcall.h:13:31: error: use of undeclared identifier '__NR_syscalls' 13 | DECLARE_BITMAP(xcall_enable, __NR_syscalls); | ^~~~~~~~~~~~~ arch/arm64/kernel/xcall.c:23:8: error: use of undeclared identifier '__NR_syscalls' 23 | __NR_syscalls); | ^~~~~~~~~~~~~ 2 errors generated.
vim +/__NR_syscalls +13 arch/arm64/include/asm/xcall.h 10 11 struct xcall_info { 12 /* Must be first! */
13 DECLARE_BITMAP(xcall_enable, __NR_syscalls); 14 }; 15
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot