Commit 7c841ea7 authored by Steven Rostedt (VMware)'s avatar Steven Rostedt (VMware) Committed by Greg Kroah-Hartman

sparc/time: Add missing __init to init_tick_ops()

[ Upstream commit 6f57ed68 ]

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.comReported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 24fab572
...@@ -813,7 +813,7 @@ static void __init get_tick_patch(void) ...@@ -813,7 +813,7 @@ static void __init get_tick_patch(void)
} }
} }
static void init_tick_ops(struct sparc64_tick_ops *ops) static void __init init_tick_ops(struct sparc64_tick_ops *ops)
{ {
unsigned long freq, quotient, tick; unsigned long freq, quotient, tick;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment