Browse Source

[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>
Russell King 18 years ago
parent
commit
5048bcba4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/kernel/smp.c

+ 1 - 1
arch/arm/kernel/smp.c

@@ -630,7 +630,7 @@ void smp_send_stop(void)
 /*
 /*
  * not supported here
  * not supported here
  */
  */
-int __init setup_profiling_timer(unsigned int multiplier)
+int setup_profiling_timer(unsigned int multiplier)
 {
 {
 	return -EINVAL;
 	return -EINVAL;
 }
 }