Re: [PATCH v3 0.1/5(7)] OMAP: add missing FIQ_START definition required for arch/arm/kernel/fiq.c compilation (was: OMAP: add missing FIQ_START definition required for arch/arm/plat-omap/fiq.c compilation)

Janusz Krzysztofik
2010-04-20T09:17:41Z

Thursday 15 April 2010 04:23:04 Janusz Krzysztofik napisał(a):
> Several ARM platforms/machines that use FIQ define their value of
> FIQ_START. Since FIQ is not implemented for OMAP yet, this definition is
> missing from OMAP header files.
>
> Put an arbitrary value for FIQ_START into plat/irqs.h for OMAP. Even if not
> used by the WiP FIQ handler for Amstrad Delta, this is required for
> successfull compilation of arch/arm/plat-omap/fiq.c that provides several
> usefull functions.

Hi,
I've just noticed that I messsed up the file name. It's arch/arm/kernel/fiq.c
that does not compile without platform provided FIQ_START definition.
Sorry for this.

Thanks,
Janusz

> Even if prepended in front of the Amstrad Delta FIQ patch set, can be
> applied alone in advance as well, possibly as a fix.
>
> Created and tested against linux-2.6.34-rc4.
>
> Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
> ---
>
> arch/arm/plat-omap/include/plat/irqs.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> --- git.orig/arch/arm/plat-omap/include/plat/irqs.h 2010-04-14 03:07:16.000000000 +0200
> +++ > git/arch/arm/plat-omap/include/plat/irqs.h 2010-04-14 22:28:05.000000000 +0200
> @@ -430,4 +430,8 @@ void omap3_intc_resume_idle(void);
>
> #include <mach/hardware.h>
>
> +#ifdef CONFIG_FIQ
> +#define FIQ_START 1024
> +#endif
> +
> #endif

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html