]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:44:48 +0000 (19:44 -0600)
commit1521bbc5fbf88a95eec5a2d38a96ef13caa482e5
tree948ebd2b1a7681932e6e1caad63664db36b50023
parent04dcd706bb70a9946a7f6ebc996398b752e95f29
sparc/time: Add missing __init to init_tick_ops()

BugLink: https://bugs.launchpad.net/bugs/1835972
[ Upstream commit 6f57ed681ed817a4ec444e83f3aa2ad695d5ef34 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
arch/sparc/kernel/time_64.c