]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/platforms/iseries/lpevents.c
[POWERPC] iSeries: Fix unregistering HV event handlers
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / iseries / lpevents.c
index 34bdbbe3ce590a73a70d04e5d91732189f1b43cb..02c142227b512bd2016e75b15ab6b740d541dec2 100644 (file)
@@ -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;
                }
        }