diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2012-11-19 08:18:47 +0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-11-19 08:18:47 +0400 |
commit | 326f3abf19360014dfae968aa3ab891d25599618 (patch) | |
tree | a57251231cb889e4e6b0f26d023990578b7bd98e /arch/arm/mach-at91/irq.c | |
parent | ef405e04abd0d4bc3f7082d241517f6db3f5c06d (diff) | |
parent | 64a574344dadbee5d01819d9d73b594d3cbe448e (diff) | |
download | linux-326f3abf19360014dfae968aa3ab891d25599618.tar.xz |
Merge branch 'next/dt-exynos4x12' into next/dt-samsung
Conflicts:
arch/arm/boot/dts/exynos4210.dtsi
Diffstat (limited to 'arch/arm/mach-at91/irq.c')
-rw-r--r-- | arch/arm/mach-at91/irq.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-at91/irq.c b/arch/arm/mach-at91/irq.c index 1e02c0e49dcc..febc2ee901a5 100644 --- a/arch/arm/mach-at91/irq.c +++ b/arch/arm/mach-at91/irq.c @@ -502,14 +502,19 @@ int __init at91_aic5_of_init(struct device_node *node, /* * Initialize the AIC interrupt controller. */ -void __init at91_aic_init(unsigned int *priority) +void __init at91_aic_init(unsigned int *priority, unsigned int ext_irq_mask) { unsigned int i; int irq_base; - if (at91_aic_pm_init()) + at91_extern_irq = kzalloc(BITS_TO_LONGS(n_irqs) + * sizeof(*at91_extern_irq), GFP_KERNEL); + + if (at91_aic_pm_init() || at91_extern_irq == NULL) panic("Unable to allocate bit maps\n"); + *at91_extern_irq = ext_irq_mask; + at91_aic_base = ioremap(AT91_AIC, 512); if (!at91_aic_base) panic("Unable to ioremap AIC registers\n"); |