projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387ef4e
)
tracepoint: Use static_key_false(), since static_branch() is deprecated
author
Jason Baron
<jbaron@redhat.com>
Thu, 28 Jun 2012 19:04:57 +0000
(15:04 -0400)
committer
Ingo Molnar
<mingo@kernel.org>
Fri, 6 Jul 2012 08:53:49 +0000
(10:53 +0200)
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>
include/linux/tracepoint.h
patch
|
blob
|
history
diff --git
a/include/linux/tracepoint.h
b/include/linux/tracepoint.h
index
bd96ecd
..
802de56
100644
(file)
--- 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), \