From: Helge Deller Date: Fri, 18 May 2018 14:12:12 +0000 (+0200) Subject: parisc: Move setup_profiling_timer() out of init section X-Git-Tag: v4.19~1004^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01f56832cfb6fcc204e7203f46841b6185ebd574;p=platform%2Fkernel%2Flinux-rpi.git parisc: Move setup_profiling_timer() out of init section No other architecture has setup_profiling_timer() in the init section, thus on parisc we face this section mismatch warning: Reference from the function devm_device_add_group() to the function .init.text:setup_profiling_timer() Signed-off-by: Helge Deller --- diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index 4065b5e..5e26dbe 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c @@ -423,8 +423,7 @@ int __cpu_up(unsigned int cpu, struct task_struct *tidle) } #ifdef CONFIG_PROC_FS -int __init -setup_profiling_timer(unsigned int multiplier) +int setup_profiling_timer(unsigned int multiplier) { return -EINVAL; }