Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=731e74c43d4e47daf327748128f1a3648e5d39a5
Commit:     731e74c43d4e47daf327748128f1a3648e5d39a5
Parent:     2a9d2d97d370e3fe959312762c3190e6a6ae9e11
Author:     Stephen Rothwell <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 12 15:00:56 2007 +1100
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Dec 20 16:11:46 2007 +1100

    [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 <[EMAIL PROTECTED]>
    Acked-by: Paul E. McKenney <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 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 34bdbbe..02c1422 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;
                }
        }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to