aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-07 02:06:44 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-07 02:06:44 -0500
commit76acfdb9b78acf73023307974f6d38a269e9967a (patch)
treedcf9c5ee0f36c9c5eba75ee08347796abf843c34
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>
-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 5cf81052d044..d323388dd1ba 100644
--- a/net/core/flow.c
+++ b/net/core/flow.c
@@ -307,7 +307,7 @@ void flow_cache_flush(void)
307 put_online_cpus(); 307 put_online_cpus();
308} 308}
309 309
310static void __devinit flow_cache_cpu_prepare(int cpu) 310static void __init flow_cache_cpu_prepare(int cpu)
311{ 311{
312 struct tasklet_struct *tasklet; 312 struct tasklet_struct *tasklet;
313 unsigned long order; 313 unsigned long order;