diff options
Diffstat (limited to 'drivers/char/ipmi/ipmi_msghandler.c')
| -rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index b8fb87c6c29f..40eb005b9d77 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c | |||
| @@ -3744,7 +3744,7 @@ static int ipmi_init_msghandler(void) | |||
| 3744 | ipmi_timer.expires = jiffies + IPMI_TIMEOUT_JIFFIES; | 3744 | ipmi_timer.expires = jiffies + IPMI_TIMEOUT_JIFFIES; |
| 3745 | add_timer(&ipmi_timer); | 3745 | add_timer(&ipmi_timer); |
| 3746 | 3746 | ||
| 3747 | notifier_chain_register(&panic_notifier_list, &panic_block); | 3747 | atomic_notifier_chain_register(&panic_notifier_list, &panic_block); |
| 3748 | 3748 | ||
| 3749 | initialized = 1; | 3749 | initialized = 1; |
| 3750 | 3750 | ||
| @@ -3764,7 +3764,7 @@ static __exit void cleanup_ipmi(void) | |||
| 3764 | if (!initialized) | 3764 | if (!initialized) |
| 3765 | return; | 3765 | return; |
| 3766 | 3766 | ||
| 3767 | notifier_chain_unregister(&panic_notifier_list, &panic_block); | 3767 | atomic_notifier_chain_unregister(&panic_notifier_list, &panic_block); |
| 3768 | 3768 | ||
| 3769 | /* This can't be called if any interfaces exist, so no worry about | 3769 | /* This can't be called if any interfaces exist, so no worry about |
| 3770 | shutting down the interfaces. */ | 3770 | shutting down the interfaces. */ |
