summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/smp.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-05-18 16:12:12 +0200
committerHelge Deller <deller@gmx.de>2018-05-18 16:21:49 +0200
commit01f56832cfb6fcc204e7203f46841b6185ebd574 (patch)
treeecff4869736a874e75e557686ab7ad5eb7ed691e /arch/parisc/kernel/smp.c
parent3faf5246f0cd2c1fe82a2c4ba5ad857fa6941909 (diff)
downloadop-kernel-dev-01f56832cfb6fcc204e7203f46841b6185ebd574.zip
op-kernel-dev-01f56832cfb6fcc204e7203f46841b6185ebd574.tar.gz
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 <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/smp.c')
-rw-r--r--arch/parisc/kernel/smp.c3
1 files changed, 1 insertions, 2 deletions
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;
}
OpenPOWER on IntegriCloud