tracing: Remove __init from __trace_early_add_new_event()
authorMasami Hiramatsu <mhiramat@kernel.org>
Fri, 16 Oct 2020 04:20:02 +0000 (13:20 +0900)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 16 Oct 2020 13:43:36 +0000 (09:43 -0400)
commitce66f6136460a51acfc32de4481fe8fd69dfd50b
tree9f3067f518996f5a483b443a1da6f4217d6ea5c9
parent6107742d15832011cd0396d821f3225b52551f1f
tracing: Remove __init from __trace_early_add_new_event()

The commit 720dee53ad8d ("tracing/boot: Initialize per-instance event
list in early boot") removes __init from __trace_early_add_events()
but __trace_early_add_new_event() still has __init and will cause a
section mismatch.

Remove __init from __trace_early_add_new_event() as same as
__trace_early_add_events().

Link: https://lore.kernel.org/lkml/CAHk-=wjU86UhovK4XuwvCqTOfc+nvtpAuaN2PJBz15z=w=u0Xg@mail.gmail.com/
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_events.c