From: Russell King Date: Mon, 23 Jul 2007 11:59:46 +0000 (+0100) Subject: [ARM] setup_profiling_timer must not be __init X-Git-Tag: firefly_0821_release~27063^2~6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5048bcba4d27d975593ef5c55f217aafe015ec3b;p=firefly-linux-kernel-4.4.55.git [ARM] setup_profiling_timer must not be __init It's called by writes to /proc/profile, so it must not be marked __init Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 1b76d87fa335..9746e5293249 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c @@ -630,7 +630,7 @@ void smp_send_stop(void) /* * not supported here */ -int __init setup_profiling_timer(unsigned int multiplier) +int setup_profiling_timer(unsigned int multiplier) { return -EINVAL; }