diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-07-23 07:59:46 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-07-23 07:59:46 -0400 |
commit | 5048bcba4d27d975593ef5c55f217aafe015ec3b (patch) | |
tree | 0be853fc3445a5f36f9ddc86df3c8d8eb4d93039 /arch/arm/kernel/smp.c | |
parent | 037e20a3c5c206efdf63f1b45c8b082fc57253d2 (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>
Diffstat (limited to 'arch/arm/kernel/smp.c')
-rw-r--r-- | arch/arm/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
630 | /* | 630 | /* |
631 | * not supported here | 631 | * not supported here |
632 | */ | 632 | */ |
633 | int __init setup_profiling_timer(unsigned int multiplier) | 633 | int setup_profiling_timer(unsigned int multiplier) |
634 | { | 634 | { |
635 | return -EINVAL; | 635 | return -EINVAL; |
636 | } | 636 | } |