irqchip: tegra: set FIQ shadows offset
Ian Chang [Wed, 25 Nov 2015 08:41:16 +0000 (16:41 +0800)]
Set FIQ shadows offset to fix kernel
warnning.

bug 200117915

Change-Id: I3c27df9183d46f6ff8c4a3cc784089b34f6035c8
Signed-off-by: Ian Chang <ianc@nvidia.com>
Reviewed-on: http://git-master/r/837793
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Yu <alleny@nvidia.com>
Reviewed-by: Robert Shih <rshih@nvidia.com>

drivers/irqchip/irq-tegra.c

index fa16d94..7946058 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/cpu_pm.h>
 #include <linux/tegra-soc.h>
 #include <asm/fiq.h>
+#include <asm/mach/irq.h>
 
 /* HACK: will be removed once cpuidle is moved to drivers */
 #include "../../arch/arm/mach-tegra/pm.h"
@@ -140,6 +141,7 @@ void tegra_fiq_enable(int irq)
        /* For T12x, use generic GIC API since legacy FIQ
         * is not connected to GIC in T12x SOC.
         */
+       init_FIQ(FIQ_START);
        enable_fiq(irq);
 #endif
        /* For T13x which uses T12x SOC, FIQ configuration