[ammarfaizi2-block:crng/random/jd/vdso 9/9] include/vdso/processor.h:10:10: fatal error: 'asm/vdso/processor.h' file not found

From: kernel test robot
Date: Mon Aug 01 2022 - 14:48:49 EST


tree: https://github.com/ammarfaizi2/linux-block crng/random/jd/vdso
head: 352e85344386bb54dc19717319667b114cff5082
commit: 352e85344386bb54dc19717319667b114cff5082 [9/9] random: implement getrandom() in vDSO
config: hexagon-randconfig-r041-20220801 (https://download.01.org/0day-ci/archive/20220802/202208020231.SlFNUKqj-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 52cd00cabf479aa7eb6dbb063b7ba41ea57bce9e)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/ammarfaizi2/linux-block/commit/352e85344386bb54dc19717319667b114cff5082
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block crng/random/jd/vdso
git checkout 352e85344386bb54dc19717319667b114cff5082
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/char/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from drivers/char/random.c:62:
In file included from include/vdso/datapage.h:17:
>> include/vdso/processor.h:10:10: fatal error: 'asm/vdso/processor.h' file not found
#include <asm/vdso/processor.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.


vim +10 include/vdso/processor.h

d8bb6993d871f5 Vincenzo Frascino 2020-03-20 9
d8bb6993d871f5 Vincenzo Frascino 2020-03-20 @10 #include <asm/vdso/processor.h>
d8bb6993d871f5 Vincenzo Frascino 2020-03-20 11

:::::: The code at line 10 was first introduced by commit
:::::: d8bb6993d871f5d3cd6d65d3772e4b1f4ef17380 common: Introduce processor.h

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

--
0-DAY CI Kernel Test Service
https://01.org/lkp