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

Janusz Krzysztofik
2010-04-15T02:25:09Z

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.

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