diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index e2434990277c5002c8639b6fc0db6ad3bf0981ed..95f99a7abf2f3449d940e5d7b60f3b5dc556c62c 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -459,6 +459,8 @@ 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 len;