]> git.itanic.dy.fi Git - linux-stable/commit
sparc/time: Add missing __init to init_tick_ops()
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 6 Jun 2018 14:11:10 +0000 (10:11 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jul 2018 19:48:29 +0000 (12:48 -0700)
commit6f57ed681ed817a4ec444e83f3aa2ad695d5ef34
tree9bf11ad42bb47470f176f3a7bcee062e258a9b15
parent527838d470e3a6e79e8ee9d5ddf28920df2a196e
sparc/time: Add missing __init to init_tick_ops()

Code that was added to force gcc not to inline any function that isn't
explicitly declared as inline uncovered that init_tick_ops() isn't
marked as "__init". It is only called by __init functions and more
importantly it too calls an __init function which would require it to be
__init as well.

Link: http://lkml.kernel.org/r/201806060444.hdHcKOBy%fengguang.wu@intel.com
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/time_64.c