[tip:timers/vdso 33/41] arch/x86/include/asm/vdso/vsyscall.h:16:10: fatal error: asm/vvar.h: No such file or directory

From: kernel test robot
Date: Sat Nov 02 2024 - 08:31:45 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/vdso
head: 3bf96deae5ad9664bdf2db95599e52221f9ddc33
commit: 915c1d9df1f757b0979283b6e50da9b3ccc4d826 [33/41] x86/vdso: Split virtual clock pages into dedicated mapping
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20241102/202411022036.pBj9Jefz-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241102/202411022036.pBj9Jefz-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/202411022036.pBj9Jefz-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from arch/x86/entry/vdso/vma.c:27:
>> arch/x86/include/asm/vdso/vsyscall.h:16:10: fatal error: asm/vvar.h: No such file or directory
16 | #include <asm/vvar.h>
| ^~~~~~~~~~~~
compilation terminated.


vim +16 arch/x86/include/asm/vdso/vsyscall.h

7ac8707479886c Vincenzo Frascino 2019-06-21 13
7ac8707479886c Vincenzo Frascino 2019-06-21 14 #include <vdso/datapage.h>
7ac8707479886c Vincenzo Frascino 2019-06-21 15 #include <asm/vgtod.h>
7ac8707479886c Vincenzo Frascino 2019-06-21 @16 #include <asm/vvar.h>
7ac8707479886c Vincenzo Frascino 2019-06-21 17

:::::: The code at line 16 was first introduced by commit
:::::: 7ac8707479886c75f353bfb6a8273f423cfccb23 x86/vdso: Switch to generic vDSO implementation

:::::: TO: Vincenzo Frascino <vincenzo.frascino@xxxxxxx>
:::::: CC: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

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