projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
037e20a
)
[ARM] setup_profiling_timer must not be __init
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Mon, 23 Jul 2007 11:59:46 +0000
(12:59 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 23 Jul 2007 11:59:46 +0000
(12:59 +0100)
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>
arch/arm/kernel/smp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/smp.c
b/arch/arm/kernel/smp.c
index 1b76d87fa335de634f7151c630cec6005ec340ec..9746e5293249b2ec5289e5640b69e6b212b64c3c 100644
(file)
--- 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;
}