[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120508090945.GC27323@gmail.com>
Date: Tue, 8 May 2012 11:09:45 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Suresh Siddha <suresh.b.siddha@...el.com>
Cc: joro@...tes.org, linux-kernel@...r.kernel.org,
iommu@...ts.linux-foundation.org,
Joerg Roedel <joerg.roedel@....com>
Subject: Re: [PATCH 2/3] irq_remap: fix the UP build failure
* Suresh Siddha <suresh.b.siddha@...el.com> wrote:
> Fix the below UP build failure with CONFIG_IRQ_REMAP enabled.
>
> drivers/iommu/intel_irq_remapping.c:955:19: error: ‘struct irq_data’ has no member named ‘affinity’
hm:
> +++ b/drivers/iommu/intel_irq_remapping.c
> +#ifdef CONFIG_SMP
> +#endif
> +#ifdef CONFIG_SMP
> +#endif
> +#ifdef CONFIG_SMP
> +#endif
> +#ifdef CONFIG_SMP
> +#endif
Adding this many #ifdefs is a bit sad. Could we not make the UP
side have the (supposedly zero length!) affinity cpumask
instead, or so, and make sure that the SMP functions compile to
something sensible on UP?
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists