sparc/time: Add missing __init to init_tick_ops()
PATCH 1/1 sparc/time: Add missing __init to init_tick_ops()
From: Steven Rostedt (VMware) <[email protected]>
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.
Reported-by kbuild test robot <[email protected]>
Signed-off-by Steven Rostedt (VMware) <[email protected]>
---
arch/sparc/kernel/time_64.c +1 -1
@@ -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;