]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] setup_profiling_timer must not be __init
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 23 Jul 2007 11:59:46 +0000 (12:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 Jul 2007 11:59:46 +0000 (12:59 +0100)
It's called by writes to /proc/profile, so it must not be marked __init

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c

index 1b76d87fa335de634f7151c630cec6005ec340ec..9746e5293249b2ec5289e5640b69e6b212b64c3c 100644 (file)
@@ -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;
 }