summaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2017-04-05 12:27:39 +0200
committerBorislav Petkov <bp@suse.de>2017-04-05 14:46:05 +0200
commit621c4fe3cca5a0bc421916696e0c5e764d0a510b (patch)
treee1426662fd6af5537a7b507bc5a0e2e35a93b810 /drivers/edac
parent41003396f932d7f027725c7acebb6a7caa41dc3e (diff)
downloadlinux-621c4fe3cca5a0bc421916696e0c5e764d0a510b.tar.bz2
EDAC, thunderx: Fix L2C MCI interrupt disable
Fix a typo that disabled the MCI interrupts using the wrong bitmask. Signed-off-by: Jan Glauber <jglauber@cavium.com> Cc: David Daney <david.daney@cavium.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Sergey Temerkhanov <s.temerkhanov@gmail.com> Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/20170405102739.6301-1-jglauber@cavium.com Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/thunderx_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c
index b5fe6894df5e..f39f4bb7b0f9 100644
--- a/drivers/edac/thunderx_edac.c
+++ b/drivers/edac/thunderx_edac.c
@@ -2123,7 +2123,7 @@ static void thunderx_l2c_remove(struct pci_dev *pdev)
writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_CBC_INT_ENA_W1C);
break;
case PCI_DEVICE_ID_THUNDER_L2C_MCI:
- writeq(L2C_CBC_INT_ENA_ALL, l2c->regs + L2C_MCI_INT_ENA_W1C);
+ writeq(L2C_MCI_INT_ENA_ALL, l2c->regs + L2C_MCI_INT_ENA_W1C);
break;
}