[tip:x86/timers 10/11] drivers//iommu/dmar.c:44:26: fatal error: asm/x86_init.h: No such file or directory

From: kbuild test robot
Date: Thu Oct 19 2017 - 11:22:10 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/timers
head: d240e4b79fedad1346796b045286fad5ca70ada9
commit: 0f5a0f4f062cc19090a87f9eb8cb79c7c2e4db19 [10/11] x86: Don't include asm/x86_init.h in asm/setup.h
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 0f5a0f4f062cc19090a87f9eb8cb79c7c2e4db19
# save the attached .config to linux build tree
make.cross ARCH=ia64

All errors (new ones prefixed by >>):

>> drivers//iommu/dmar.c:44:26: fatal error: asm/x86_init.h: No such file or directory
#include <asm/x86_init.h>
^
compilation terminated.

vim +44 drivers//iommu/dmar.c

30
31 #include <linux/pci.h>
32 #include <linux/dmar.h>
33 #include <linux/iova.h>
34 #include <linux/intel-iommu.h>
35 #include <linux/timer.h>
36 #include <linux/irq.h>
37 #include <linux/interrupt.h>
38 #include <linux/tboot.h>
39 #include <linux/dmi.h>
40 #include <linux/slab.h>
41 #include <linux/iommu.h>
42 #include <asm/irq_remapping.h>
43 #include <asm/iommu_table.h>
> 44 #include <asm/x86_init.h>
45

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip