Skip to content

Commit

Permalink
powerpc/mpic: Use the MPIC_LARGE_VECTORS flag for FSL MPIC.
Browse files Browse the repository at this point in the history
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 <Varun.Sethi@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Varun Sethi authored and Kumar Gala committed Jul 10, 2012
1 parent 2dc3d4c commit 5a271fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/sysdev/mpic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5a271fe

Please sign in to comment.