]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - samples/trace_events/trace-events-sample.c
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[karo-tx-linux.git] / samples / trace_events / trace-events-sample.c
index 30e282d33d4dc5aeca7b1a11cd324f32d2cb5e4e..bc7fcf010a5b4ccb7c25dcfd651e53c61ce80b1a 100644 (file)
@@ -33,7 +33,7 @@ static void simple_thread_func(int cnt)
 
        /* Silly tracepoints */
        trace_foo_bar("hello", cnt, array, random_strings[len],
-                     tsk_cpus_allowed(current));
+                     &current->cpus_allowed);
 
        trace_foo_with_template_simple("HELLO", cnt);