diff options
author | Helge Deller <[email protected]> | 2022-03-26 15:10:54 +0100 |
---|---|---|
committer | Helge Deller <[email protected]> | 2022-03-29 21:37:12 +0200 |
commit | beb48dfd9672f82413e3b2bac220331073afbb02 (patch) | |
tree | 7af852c10cb3cb92aee35c4b58cea94c47ca6c01 /arch/parisc/kernel/processor.c | |
parent | 95370b4031ec67f9749e5873ae7139a53cc6bf53 (diff) |
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 <[email protected]>
Diffstat (limited to 'arch/parisc/kernel/processor.c')
-rw-r--r-- | arch/parisc/kernel/processor.c | 2 |
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; |