From: Varun Sethi Date: Mon, 9 Jul 2012 08:46:35 +0000 (+0530) Subject: powerpc/mpic: Use the MPIC_LARGE_VECTORS flag for FSL MPIC. X-Git-Tag: v3.6-rc1~132^2~3^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a271fe784e799cfeaeac7792b1c87b837e41cbd;p=platform%2Fkernel%2Flinux-stable.git powerpc/mpic: Use the MPIC_LARGE_VECTORS flag for FSL MPIC. We should use the MPIC_LARG_VECTORS flag while intializing the MPIC. This prevents us from eating in to hardware vector number space (MSIs) while setting up internal sources. Signed-off-by: Varun Sethi Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index 395af13..906f29c 100644 --- a/arch/powerpc/sysdev/mpic.c +++ b/arch/powerpc/sysdev/mpic.c @@ -1211,7 +1211,7 @@ struct mpic * __init mpic_alloc(struct device_node *node, if (of_get_property(node, "single-cpu-affinity", NULL)) flags |= MPIC_SINGLE_DEST_CPU; if (of_device_is_compatible(node, "fsl,mpic")) - flags |= MPIC_FSL; + flags |= MPIC_FSL | MPIC_LARGE_VECTORS; mpic = kzalloc(sizeof(struct mpic), GFP_KERNEL); if (mpic == NULL)