]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sputrace: use marker_synchronize_unregister()
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 29 Sep 2008 15:11:47 +0000 (11:11 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:35 +0000 (10:38 +0200)
We need a marker_synchronize_unregister() before the end of exit() to make sure
every probe callers have exited the non preemptible section and thus are not
executing the probe code anymore.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/platforms/cell/spufs/sputrace.c

index 92d20e993ede097d5e732a2bf0b751f9931eb7d1..2ece399f2862361aaa0789f08a49a4bae169043e 100644 (file)
@@ -232,6 +232,7 @@ static void __exit sputrace_exit(void)
 
        remove_proc_entry("sputrace", NULL);
        kfree(sputrace_log);
+       marker_synchronize_unregister();
 }
 
 module_init(sputrace_init);