From: Russell King Date: Mon, 23 Jul 2007 11:59:46 +0000 (+0100) Subject: [ARM] setup_profiling_timer must not be __init X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5048bcba4d27d975593ef5c55f217aafe015ec3b;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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; }