Re: [tip:x86/timers] x86: Don't include asm/x86_init.h in asm/setup.h

From: Arnd Bergmann
Date: Fri Oct 20 2017 - 07:37:35 EST


On Fri, Oct 20, 2017 at 1:11 PM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>> #include <asm/iommu_table.h>
>> +#include <asm/x86_init.h>
>>
>> #include "irq_remapping.h"
>
> This breaks the IA64 build:
>
> drivers/iommu/dmar.c:44:26: fatal error: asm/x86_init.h: No such file or directory

I've sent a fixup to add an #ifdef around it now. Alternatively, we
could include
it implicitly in asm/iommu_table.h, which would avoid the #ifdef but
seem a little
hacky.

Arnd