From: tip-bot for Jason Baron <jbaron@redhat.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org,
jbaron@redhat.com, tglx@linutronix.de
Subject: [tip:perf/core] tracepoint: Use static_key_false(), since static_branch() is deprecated
Date: Fri, 6 Jul 2012 04:26:21 -0700 [thread overview]
Message-ID: <tip-326f418b4c74ab4a6066f38b6144bc6461f9447b@git.kernel.org> (raw)
In-Reply-To: <5fffcd40a6c063769badcdd74a7d90980500dbcb.1340909155.git.jbaron@redhat.com>
Commit-ID: 326f418b4c74ab4a6066f38b6144bc6461f9447b
Gitweb: http://git.kernel.org/tip/326f418b4c74ab4a6066f38b6144bc6461f9447b
Author: Jason Baron <jbaron@redhat.com>
AuthorDate: Thu, 28 Jun 2012 15:04:57 -0400
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Fri, 6 Jul 2012 10:53:49 +0200
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>
---
include/linux/tracepoint.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index bd96ecd..802de56 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), \
next prev parent reply other threads:[~2012-07-06 11:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-28 19:04 [PATCH 0/2] deprecate static_branch() Jason Baron
2012-06-28 19:04 ` [PATCH 1/2] tracepoint: use static_key_false(), since static_branch() is deprecated Jason Baron
2012-07-06 11:26 ` tip-bot for Jason Baron [this message]
2012-06-28 19:05 ` [PATCH 2/2] jump label: remove static_branch() Jason Baron
2012-07-06 11:27 ` [tip:perf/core] jump label: Remove static_branch() tip-bot for Jason Baron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-326f418b4c74ab4a6066f38b6144bc6461f9447b@git.kernel.org \
--to=jbaron@redhat.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome