diff options
author | Jiucheng Xu <Jiucheng.Xu@freescale.com> | 2013-03-06 02:29:21 (GMT) |
---|---|---|
committer | Emil Medve <Emilian.Medve@Freescale.com> | 2013-03-21 18:42:11 (GMT) |
commit | cbcd2d0bc0fe93b315472a917996c2a30a611e40 (patch) | |
tree | 3a91c3a63d992e0d52ffd9b25ca198255e0bcc49 /drivers/edac/mpc85xx_edac.c | |
parent | 83e9fba88623359fd6da57d780e5045b735832f2 (diff) | |
download | linux-fsl-qoriq-cbcd2d0bc0fe93b315472a917996c2a30a611e40.tar.xz |
edac/85xx: Fix the IRQ register flag for EDAC of L2 cache
Error irq number is shared, but EDAC of L2 cache register it
without IRQF_SHARED, it will cause kernel call trace.
Use IRQF_SHARED flag instead of the old flag.
Signed-off-by: Jiucheng Xu <Jiucheng.Xu@freescale.com>
Diffstat (limited to 'drivers/edac/mpc85xx_edac.c')
-rw-r--r-- | drivers/edac/mpc85xx_edac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index 42a840d..9d3aaba7 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/drivers/edac/mpc85xx_edac.c @@ -579,7 +579,7 @@ static int mpc85xx_l2_err_probe(struct platform_device *op) if (edac_op_state == EDAC_OPSTATE_INT) { pdata->irq = irq_of_parse_and_map(op->dev.of_node, 0); res = devm_request_irq(&op->dev, pdata->irq, - mpc85xx_l2_isr, IRQF_DISABLED, + mpc85xx_l2_isr, IRQF_SHARED, "[EDAC] L2 err", edac_dev); if (res < 0) { printk(KERN_ERR |