projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3faf524
)
parisc: Move setup_profiling_timer() out of init section
author
Helge Deller
<deller@gmx.de>
Fri, 18 May 2018 14:12:12 +0000
(16:12 +0200)
committer
Helge Deller
<deller@gmx.de>
Fri, 18 May 2018 14:21:49 +0000
(16:21 +0200)
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>
arch/parisc/kernel/smp.c
patch
|
blob
|
history
diff --git
a/arch/parisc/kernel/smp.c
b/arch/parisc/kernel/smp.c
index 4065b5e48c9d68e70b38da3743e219e02934fe5b..5e26dbede5fc23d37f734e1511bc405207d37266 100644
(file)
--- 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;
}