arch/microblaze/kernel/heartbeat.c:17:10: fatal error: asm/prom.h: No such file or directory

From: kbuild test robot
Date: Mon Jun 11 2018 - 01:48:24 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f0dc7f9c6dd99891611fca5849cbc4c6965b690e
commit: 96f0e6fcc9add1f063984be32073fe8b1d39b664 microblaze: remove redundant early_printk support
date: 7 weeks ago
config: microblaze-allyesconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 8.1.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 96f0e6fcc9add1f063984be32073fe8b1d39b664
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=microblaze

All errors (new ones prefixed by >>):

>> arch/microblaze/kernel/heartbeat.c:17:10: fatal error: asm/prom.h: No such file or directory
#include <asm/prom.h>
^~~~~~~~~~~~
compilation terminated.

vim +17 arch/microblaze/kernel/heartbeat.c

ecc6dfc8 Michal Simek 2009-03-27 14
ecc6dfc8 Michal Simek 2009-03-27 15 #include <asm/setup.h>
ecc6dfc8 Michal Simek 2009-03-27 16 #include <asm/page.h>
ecc6dfc8 Michal Simek 2009-03-27 @17 #include <asm/prom.h>
ecc6dfc8 Michal Simek 2009-03-27 18

:::::: The code at line 17 was first introduced by commit
:::::: ecc6dfc8adfc76d323c513bc88cb260344c11139 microblaze_v8: heartbeat file

:::::: TO: Michal Simek <monstr@xxxxxxxxx>
:::::: CC: Michal Simek <monstr@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip