mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
[POWERPC] iSeries: Fix unregistering HV event handlers
Commit fbd568a3e6
("Change
synchronize_kernel to _rcu and _sched") changed the deprecated
synchronize_kernel() in HvLpEvent_unregisterHandler() to
synchronize_rcu(). It turns out that it should have been
synchronize_sched().
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
2a9d2d97d3
commit
731e74c43d
@ -226,7 +226,7 @@ int HvLpEvent_unregisterHandler(HvLpEvent_Type eventType)
|
||||
* other CPUs, and that the deleted handler isn't
|
||||
* still running on another CPU when we return.
|
||||
*/
|
||||
synchronize_rcu();
|
||||
synchronize_sched();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user