aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index 29de259a981e..44a7f13c788b 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -2199,7 +2199,7 @@ static int init_one_smi(int intf_num, struct smi_info **smi)
2199 /* Wait until we know that we are out of any interrupt 2199 /* Wait until we know that we are out of any interrupt
2200 handlers might have been running before we freed the 2200 handlers might have been running before we freed the
2201 interrupt. */ 2201 interrupt. */
2202 synchronize_kernel(); 2202 synchronize_sched();
2203 2203
2204 if (new_smi->si_sm) { 2204 if (new_smi->si_sm) {
2205 if (new_smi->handlers) 2205 if (new_smi->handlers)
@@ -2312,7 +2312,7 @@ static void __exit cleanup_one_si(struct smi_info *to_clean)
2312 /* Wait until we know that we are out of any interrupt 2312 /* Wait until we know that we are out of any interrupt
2313 handlers might have been running before we freed the 2313 handlers might have been running before we freed the
2314 interrupt. */ 2314 interrupt. */
2315 synchronize_kernel(); 2315 synchronize_sched();
2316 2316
2317 /* Wait for the timer to stop. This avoids problems with race 2317 /* Wait for the timer to stop. This avoids problems with race
2318 conditions removing the timer here. */ 2318 conditions removing the timer here. */