summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2008-09-29 11:11:47 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-14 10:38:35 +0200
commit5b9261d93e5fa3db4995d5b77b5ed365166e001c (patch)
treeac134765e5518af79da1845fccac7683488e0b22
parent91a8d46c47e7eb1c53c181e4328a3cfa45ae4ad3 (diff)
downloadop-kernel-dev-5b9261d93e5fa3db4995d5b77b5ed365166e001c.zip
op-kernel-dev-5b9261d93e5fa3db4995d5b77b5ed365166e001c.tar.gz
sputrace: use marker_synchronize_unregister()
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>
-rw-r--r--arch/powerpc/platforms/cell/spufs/sputrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/sputrace.c b/arch/powerpc/platforms/cell/spufs/sputrace.c
index 92d20e9..2ece399 100644
--- a/arch/powerpc/platforms/cell/spufs/sputrace.c
+++ b/arch/powerpc/platforms/cell/spufs/sputrace.c
@@ -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);
OpenPOWER on IntegriCloud