aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-07-23 12:59:46 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-07-23 12:59:46 +0100
commit5048bcba4d27d975593ef5c55f217aafe015ec3b (patch)
tree0be853fc3445a5f36f9ddc86df3c8d8eb4d93039
parent037e20a3c5c206efdf63f1b45c8b082fc57253d2 (diff)
[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 <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
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;
}