From: David Mercado <david.merc...@windriver.com>

This patch fixes setting of IRQ type to all clusters. Previously was
only working for first cluster.

Signed-off-by: David Mercado <david.merc...@windriver.com>
---
 arch/arm/mach-axxia/axxia-gic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-axxia/axxia-gic.c b/arch/arm/mach-axxia/axxia-gic.c
index 2c2dfba..c074f6c 100644
--- a/arch/arm/mach-axxia/axxia-gic.c
+++ b/arch/arm/mach-axxia/axxia-gic.c
@@ -344,7 +344,7 @@ static int gic_set_type(struct irq_data *d, unsigned int 
type)
                 * smp_call_function_single().
                 */
                local_irq_enable();
-               smp_call_function_single((i/4),
+               smp_call_function_single((i * 4),
                         gic_set_type_wrapper, &data, 1);
                local_irq_disable();
                if (data.status != 0)
-- 
1.8.3.4

_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to