summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/processor.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-03-26 15:10:54 +0100
committerHelge Deller <deller@gmx.de>2022-03-29 21:37:12 +0200
commitbeb48dfd9672f82413e3b2bac220331073afbb02 (patch)
tree7af852c10cb3cb92aee35c4b58cea94c47ca6c01 /arch/parisc/kernel/processor.c
parent95370b4031ec67f9749e5873ae7139a53cc6bf53 (diff)
downloadlinux-beb48dfd9672f82413e3b2bac220331073afbb02.tar.bz2
parisc: Move CPU startup-related functions into .text section
If CONFIG_HOTPLUG_CPU is enabled, those functions will be run again after bootup. So they need to reside in the .text section. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/processor.c')
-rw-r--r--arch/parisc/kernel/processor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c
index f48823eba75f..d98692115221 100644
--- a/arch/parisc/kernel/processor.c
+++ b/arch/parisc/kernel/processor.c
@@ -318,7 +318,7 @@ void __init collect_boot_cpu_data(void)
*
* o Enable CPU profiling hooks.
*/
-int __init init_per_cpu(int cpunum)
+int init_per_cpu(int cpunum)
{
int ret;
struct pdc_coproc_cfg coproc_cfg;