Skip to content

Commit 01f5683

Browse files
committed
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 <[email protected]>
1 parent 3faf524 commit 01f5683

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/parisc/kernel/smp.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,7 @@ int __cpu_up(unsigned int cpu, struct task_struct *tidle)
423423
}
424424

425425
#ifdef CONFIG_PROC_FS
426-
int __init
427-
setup_profiling_timer(unsigned int multiplier)
426+
int setup_profiling_timer(unsigned int multiplier)
428427
{
429428
return -EINVAL;
430429
}

0 commit comments

Comments
 (0)