diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-06 18:02:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-06 18:02:37 -0500 |
commit | edf7c8148ec40c0fd27c0ef3f688defcc65e3913 (patch) | |
tree | dde7448208538c616ad3ba25b41a816fccc015af /drivers/edac/sb_edac.c | |
parent | 82406da4a6998a0c98db0c5afb1695f97889bf79 (diff) | |
parent | a228b5892b0527b8574c06edc72cacaf8c25418d (diff) |
Merge branch 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86: add IRQ context simulation in module mce-inject
x86, mce, therm_throt: Don't report power limit and package level thermal throttle events in mcelog
x86, MCE: Drain mcelog buffer
x86, mce: Add wrappers for registering on the decode chain
Diffstat (limited to 'drivers/edac/sb_edac.c')
-rw-r--r-- | drivers/edac/sb_edac.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c index 88df48956c1b..1dc118d83cc6 100644 --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c | |||
@@ -1659,8 +1659,7 @@ static void sbridge_unregister_mci(struct sbridge_dev *sbridge_dev) | |||
1659 | debugf0("MC: " __FILE__ ": %s(): mci = %p, dev = %p\n", | 1659 | debugf0("MC: " __FILE__ ": %s(): mci = %p, dev = %p\n", |
1660 | __func__, mci, &sbridge_dev->pdev[0]->dev); | 1660 | __func__, mci, &sbridge_dev->pdev[0]->dev); |
1661 | 1661 | ||
1662 | atomic_notifier_chain_unregister(&x86_mce_decoder_chain, | 1662 | mce_unregister_decode_chain(&sbridge_mce_dec); |
1663 | &sbridge_mce_dec); | ||
1664 | 1663 | ||
1665 | /* Remove MC sysfs nodes */ | 1664 | /* Remove MC sysfs nodes */ |
1666 | edac_mc_del_mc(mci->dev); | 1665 | edac_mc_del_mc(mci->dev); |
@@ -1729,8 +1728,7 @@ static int sbridge_register_mci(struct sbridge_dev *sbridge_dev) | |||
1729 | goto fail0; | 1728 | goto fail0; |
1730 | } | 1729 | } |
1731 | 1730 | ||
1732 | atomic_notifier_chain_register(&x86_mce_decoder_chain, | 1731 | mce_register_decode_chain(&sbridge_mce_dec); |
1733 | &sbridge_mce_dec); | ||
1734 | return 0; | 1732 | return 0; |
1735 | 1733 | ||
1736 | fail0: | 1734 | fail0: |