git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eeda9a
)
net: mark flow_cache_cpu_prepare() as __init
author
Alexey Dobriyan
<adobriyan@gmail.com>
Fri, 7 Nov 2008 07:06:44 +0000
(23:06 -0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 7 Nov 2008 07:06:44 +0000
(23:06 -0800)
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>
net/core/flow.c
patch
|
blob
|
history
diff --git
a/net/core/flow.c
b/net/core/flow.c
index
5cf8105
..
d323388
100644
(file)
--- a/
net/core/flow.c
+++ b/
net/core/flow.c
@@
-307,7
+307,7
@@
void flow_cache_flush(void)
put_online_cpus();
}
-static void __
dev
init flow_cache_cpu_prepare(int cpu)
+static void __init flow_cache_cpu_prepare(int cpu)
{
struct tasklet_struct *tasklet;
unsigned long order;