summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/time.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-03-26 17:10:54 +0300
committerHelge Deller <deller@gmx.de>2022-03-29 22:37:12 +0300
commitbeb48dfd9672f82413e3b2bac220331073afbb02 (patch)
tree7af852c10cb3cb92aee35c4b58cea94c47ca6c01 /arch/parisc/kernel/time.c
parent95370b4031ec67f9749e5873ae7139a53cc6bf53 (diff)
downloadlinux-beb48dfd9672f82413e3b2bac220331073afbb02.tar.xz
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/time.c')
-rw-r--r--arch/parisc/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c
index 061119a56fbe..874b128c5783 100644
--- a/arch/parisc/kernel/time.c
+++ b/arch/parisc/kernel/time.c
@@ -150,7 +150,7 @@ static struct clocksource clocksource_cr16 = {
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};
-void __init start_cpu_itimer(void)
+void start_cpu_itimer(void)
{
unsigned int cpu = smp_processor_id();
unsigned long next_tick = mfctl(16) + clocktick;