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 năm trước cách đây
mục cha
commit
5048bcba4d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
  */
-int __init setup_profiling_timer(unsigned int multiplier)
+int setup_profiling_timer(unsigned int multiplier)
 {
 	return -EINVAL;
 }