|
|
Re: [PATCH] ARM: irq: add a mach/fiq.h inclusion for SPARSE_IRQ build |
On Wed, Jun 13, 2012 at 09:07:56PM +0800, Shawn Guo wrote: > Damned. Just realized that this will break those platforms with > SPARSE_IRQ enabled but no mach/fiq.h provided. > What about adding #ifdef CONFIG_FIQ check for the inclusion? --8<--- diff --git a/arch/arm/include/asm/irq.h b/arch/arm/include/asm/irq.h index 35c21c3..8db119a 100644 --- a/arch/arm/include/asm/irq.h +++ b/arch/arm/include/asm/irq.h @@ -7,6 +7,9 @@ #include <mach/irqs.h> #else #define NR_IRQS NR_IRQS_LEGACY +#ifdef CONFIG_FIQ +#include <mach/fiq.h> +#endif #endif #ifndef irq_canonicalize --->8-- Regards, Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[Linux ARM (vger)] [Linux ARM MSM] [Linux Omap] [Linux Arm] [Linux Tegra] [Fedora ARM] [eCos] [Linux Fastboot] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [PDAs] [Linux] [Linux MIPS] [Yosemite Campsites] [Photos]
![]() |
![]() |