Re: microblaze fails to to compile with allmodconfig

From: Geert Uytterhoeven
Date: Thu Sep 14 2017 - 05:19:37 EST


Hi Michal,

On Thu, Sep 14, 2017 at 11:07 AM, Michal Hocko <mhocko@xxxxxxxxxx> wrote:
> I've started seeing the following compilation failures with microblaze
> with the current linux-next (next-20170913). I have no idea when this
> has been introduced but microblaze clearly doesn't have arch specific
> kvm_para.h.
>
> In file included from ./include/linux/kvm_para.h:4:0,
> from kernel/watchdog.c:29:
> ./include/uapi/linux/kvm_para.h:32:26: fatal error: asm/kvm_para.h: No such file or directory
> #include <asm/kvm_para.h>
> ^
> compilation terminated.
> make[1]: *** [kernel/watchdog.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
>
> allyesconfig and allnoconfig compile just fine. Maybe allmodconfig needs
> an update?

arch/microblaze/include/uapi/asm/Kbuild needs a line

generic-y += kvm_para.h

?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds