diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-06-06 16:11:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-30 21:48:29 +0200 |
commit | 6f57ed681ed817a4ec444e83f3aa2ad695d5ef34 (patch) | |
tree | 9bf11ad42bb47470f176f3a7bcee062e258a9b15 /arch/sparc/kernel/time_64.c | |
parent | Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
download | linux-6f57ed681ed817a4ec444e83f3aa2ad695d5ef34.tar.xz linux-6f57ed681ed817a4ec444e83f3aa2ad695d5ef34.zip |
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>
Diffstat (limited to 'arch/sparc/kernel/time_64.c')
-rw-r--r-- | arch/sparc/kernel/time_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/time_64.c b/arch/sparc/kernel/time_64.c index 2ef8cfa9677e..f0eba72aa1ad 100644 --- a/arch/sparc/kernel/time_64.c +++ b/arch/sparc/kernel/time_64.c @@ -814,7 +814,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; |