ftrace: Statically initialize pm notifier block
authorMathias Krause <minipli@googlemail.com>
Sun, 30 Mar 2014 13:31:50 +0000 (15:31 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 21 Apr 2014 18:00:46 +0000 (14:00 -0400)
commit8275f69f076d8b1ecc6d93305451e5a8f7336d4e
tree8df092728c1fc34f5d29f6fd77515bac3204c4e1
parent74bb8c450459c35ea48806b582b634bbbb9ebb09
ftrace: Statically initialize pm notifier block

Instead of initializing the pm notifier block in register_ftrace_graph(),
initialize it statically. This safes us some code.

Found in the PaX patch, written by the PaX Team.

Link: http://lkml.kernel.org/p/1396186310-3156-1-git-send-email-minipli@googlemail.com
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: PaX Team <pageexec@freemail.hu>
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c