aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/neighbour.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-03-12 17:34:29 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:25:03 -0400
commitf690808e17925fc45217eb22e8670902ecee5c1b (patch)
treeba677dd86988f4c77a728cc7408c21967e59400c /net/core/neighbour.c
parent6b2bedc3a659ba228a93afc8e3f008e152abf18a (diff)
[NET]: make seq_operations const
The seq_file operations stuff can be marked constant to get it out of dirty cache. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/neighbour.c')
-rw-r--r--net/core/neighbour.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index c5653c512b4..61a4713a5df 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -2393,7 +2393,7 @@ static int neigh_stat_seq_show(struct seq_file *seq, void *v)
2393 return 0; 2393 return 0;
2394} 2394}
2395 2395
2396static struct seq_operations neigh_stat_seq_ops = { 2396static const struct seq_operations neigh_stat_seq_ops = {
2397 .start = neigh_stat_seq_start, 2397 .start = neigh_stat_seq_start,
2398 .next = neigh_stat_seq_next, 2398 .next = neigh_stat_seq_next,
2399 .stop = neigh_stat_seq_stop, 2399 .stop = neigh_stat_seq_stop,