aboutsummaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-06 23:06:44 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-06 23:06:44 -0800
commit76acfdb9b78acf73023307974f6d38a269e9967a (patch)
treedcf9c5ee0f36c9c5eba75ee08347796abf843c34 /net/core
parent9eeda9abd1faf489f3df9a1f557975f4c8650363 (diff)
net: mark flow_cache_cpu_prepare() as __init
It's called from __init code only. And__devinit in generic networking code is pretty strange :^) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/flow.c b/net/core/flow.c
index 5cf81052d04..d323388dd1b 100644
--- a/net/core/flow.c
+++ b/net/core/flow.c
@@ -307,7 +307,7 @@ void flow_cache_flush(void)
put_online_cpus();
}
-static void __devinit flow_cache_cpu_prepare(int cpu)
+static void __init flow_cache_cpu_prepare(int cpu)
{
struct tasklet_struct *tasklet;
unsigned long order;