aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91x40.c
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2012-06-21 08:47:27 -0400
committerNicolas Ferre <nicolas.ferre@atmel.com>2012-07-02 08:26:59 -0400
commit8fe82a5550a8e97b3f59c74f994b88ed6b3544a3 (patch)
tree0b46bdd7cfe2bb0691bf8c3243f803b478fe4379 /arch/arm/mach-at91/at91x40.c
parent3e135466745a62b1814edef74c7b4a25e6bda707 (diff)
ARM: at91: sparse irq support
Enable sparse irq support for multisoc image. It involves to add the NR_IRQS_LEGACY offset to static SoC irq number definitions since NR_IRQS_LEGACY irq descs are allocated before AIC requests irq descs allocation. Move NR_AIC_IRQS macro to a more appropiate place with the purpose to remove mach/irqs.h later. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91x40.c')
-rw-r--r--arch/arm/mach-at91/at91x40.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91x40.c b/arch/arm/mach-at91/at91x40.c
index d62fe090d814..4c0f5fd4d850 100644
--- a/arch/arm/mach-at91/at91x40.c
+++ b/arch/arm/mach-at91/at91x40.c
@@ -17,6 +17,7 @@
17#include <asm/system_misc.h> 17#include <asm/system_misc.h>
18#include <asm/mach/arch.h> 18#include <asm/mach/arch.h>
19#include <mach/at91x40.h> 19#include <mach/at91x40.h>
20#include <mach/at91_aic.h>
20#include <mach/at91_st.h> 21#include <mach/at91_st.h>
21#include <mach/timex.h> 22#include <mach/timex.h>
22#include "generic.h" 23#include "generic.h"