[ammarfaizi2-block:bp/bp/test 21/23] drivers/edac/ghes_edac.c:18:10: fatal error: asm/mce.h: No such file or directory

From: kernel test robot
Date: Sun Apr 03 2022 - 21:15:10 EST


tree: https://github.com/ammarfaizi2/linux-block bp/bp/test
head: aff0e90f2a981e0350187c8a931071d7f35df6e5
commit: ef3a8acde71eb676a92d9f3158d7f112061e2bf9 [21/23] ghes_edac: Convert MCE to its representation
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220404/202204040936.kxNxgvNn-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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/ef3a8acde71eb676a92d9f3158d7f112061e2bf9
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block bp/bp/test
git checkout ef3a8acde71eb676a92d9f3158d7f112061e2bf9
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> drivers/edac/ghes_edac.c:18:10: fatal error: asm/mce.h: No such file or directory
18 | #include <asm/mce.h>
| ^~~~~~~~~~~
compilation terminated.


vim +18 drivers/edac/ghes_edac.c

17
> 18 #include <asm/mce.h>
19

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