ftrace: fix building with SYSCTL=y but DYNAMIC_FTRACE=n
authorLuis Chamberlain <mcgrof@kernel.org>
Thu, 21 Apr 2022 18:38:43 +0000 (11:38 -0700)
committerLuis Chamberlain <mcgrof@kernel.org>
Thu, 21 Apr 2022 20:11:51 +0000 (13:11 -0700)
commit8fd7c2144d1292f15c901211750dee021ed5079a
tree2e7c2e6673962dbc8fd83e1eee3f8cd709529975
parentcb55f27ac9326bfe3bcaaf0adb498778d64602b6
ftrace: fix building with SYSCTL=y but DYNAMIC_FTRACE=n

Ok so hopefully this is the last of it. 0day picked up a build
failure [0] when SYSCTL=y but DYNAMIC_FTRACE=n. This can be fixed
by just declaring an empty routine for the calls moved just
recently.

[0] https://lkml.kernel.org/r/202204161203.6dSlgKJX-lkp@intel.com

Reported-by: kernel test robot <lkp@intel.com>
Fixes: f8b7d2b4c192 ("ftrace: fix building with SYSCTL=n but DYNAMIC_FTRACE=y")
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/trace/ftrace.c