summaryrefslogtreecommitdiffstats
path: root/include/linux/tracepoint.h
diff options
context:
space:
mode:
authorJason Baron <jbaron@redhat.com>2012-06-28 15:04:57 -0400
committerIngo Molnar <mingo@kernel.org>2012-07-06 10:53:49 +0200
commit326f418b4c74ab4a6066f38b6144bc6461f9447b (patch)
tree2af6e138c82ea744087173837bd03ef1389d322f /include/linux/tracepoint.h
parent387ef4e24af4ae43a7961ba6eec749488da99535 (diff)
downloadlinux-326f418b4c74ab4a6066f38b6144bc6461f9447b.tar.gz
linux-326f418b4c74ab4a6066f38b6144bc6461f9447b.tar.bz2
linux-326f418b4c74ab4a6066f38b6144bc6461f9447b.zip
tracepoint: Use static_key_false(), since static_branch() is deprecated
Convert the last user of static_branch() -> static_key_false(). Signed-off-by: Jason Baron <jbaron@redhat.com> Cc: rostedt@goodmis.org Cc: mathieu.desnoyers@efficios.com Cc: a.p.zijlstra@chello.nl Link: http://lkml.kernel.org/r/5fffcd40a6c063769badcdd74a7d90980500dbcb.1340909155.git.jbaron@redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/tracepoint.h')
-rw-r--r--include/linux/tracepoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index bd96ecd0e05c..802de56c41e8 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -153,7 +153,7 @@ static inline void tracepoint_synchronize_unregister(void)
} \
static inline void trace_##name##_rcuidle(proto) \
{ \
- if (static_branch(&__tracepoint_##name.key)) \
+ if (static_key_false(&__tracepoint_##name.key)) \
__DO_TRACE(&__tracepoint_##name, \
TP_PROTO(data_proto), \
TP_ARGS(data_args), \