diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-12-11 23:00:56 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-12-20 00:11:46 -0500 |
commit | 731e74c43d4e47daf327748128f1a3648e5d39a5 (patch) | |
tree | d300f7e7a3f5125e150480a53fa5af7fcfab6e4b | |
parent | 2a9d2d97d370e3fe959312762c3190e6a6ae9e11 (diff) |
[POWERPC] iSeries: Fix unregistering HV event handlers
Commit fbd568a3e61a7decb8a754ad952aaa5b5c82e9e5 ("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>
-rw-r--r-- | arch/powerpc/platforms/iseries/lpevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/iseries/lpevents.c b/arch/powerpc/platforms/iseries/lpevents.c index 34bdbbe3ce59..02c142227b51 100644 --- a/arch/powerpc/platforms/iseries/lpevents.c +++ b/arch/powerpc/platforms/iseries/lpevents.c | |||
@@ -226,7 +226,7 @@ int HvLpEvent_unregisterHandler(HvLpEvent_Type eventType) | |||
226 | * other CPUs, and that the deleted handler isn't | 226 | * other CPUs, and that the deleted handler isn't |
227 | * still running on another CPU when we return. | 227 | * still running on another CPU when we return. |
228 | */ | 228 | */ |
229 | synchronize_rcu(); | 229 | synchronize_sched(); |
230 | return 0; | 230 | return 0; |
231 | } | 231 | } |
232 | } | 232 | } |