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: v2.6.23-rc2~182^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5048bcba4d27d975593ef5c55f217aafe015ec3b;p=linux-2.6-omap-h63xx.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 1b76d87fa33..9746e529324 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; }