From 731e74c43d4e47daf327748128f1a3648e5d39a5 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 12 Dec 2007 15:00:56 +1100 Subject: [PATCH] [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 Acked-by: Paul E. McKenney Signed-off-by: Paul Mackerras --- arch/powerpc/platforms/iseries/lpevents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/iseries/lpevents.c b/arch/powerpc/platforms/iseries/lpevents.c index 34bdbbe3ce..02c142227b 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) * other CPUs, and that the deleted handler isn't * still running on another CPU when we return. */ - synchronize_rcu(); + synchronize_sched(); return 0; } } -- 2.39.5