summaryrefslogtreecommitdiff
path: root/kernel/trace
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2011-11-07 12:23:22 +0400
committerSteven Rostedt <rostedt@goodmis.org>2012-05-19 16:28:51 +0400
commit895b67fd5830ce18a6f1375a7c062fcf84b4b874 (patch)
tree38f7d09da0f08b469c72ff3007d027212d400b9e /kernel/trace
parenta591c73f127505cdbd0aa399a92112a8ddff8730 (diff)
downloadlinux-895b67fd5830ce18a6f1375a7c062fcf84b4b874.tar.xz
tracing: Remove kernel_lock annotations
The BKL is gone, these annotations are useless. Link: http://lkml.kernel.org/r/1320654202-4433-1-git-send-email-richard@nod.at Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index a44d4c6ca9a8..b9a507c19c4b 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -763,8 +763,6 @@ update_max_tr_single(struct trace_array *tr, struct task_struct *tsk, int cpu)
* Register a new plugin tracer.
*/
int register_tracer(struct tracer *type)
-__releases(kernel_lock)
-__acquires(kernel_lock)
{
struct tracer *t;
int ret = 0;