Skip to content

Commit

Permalink
[ARM] setup_profiling_timer must not be __init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed Jul 23, 2007
1 parent 037e20a commit 5048bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5048bcb

Please sign in to comment.