diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-03-12 14:34:29 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:25:03 -0700 |
commit | f690808e17925fc45217eb22e8670902ecee5c1b (patch) | |
tree | ba677dd86988f4c77a728cc7408c21967e59400c /net/ipv4/route.c | |
parent | 6b2bedc3a659ba228a93afc8e3f008e152abf18a (diff) | |
download | linux-f690808e17925fc45217eb22e8670902ecee5c1b.tar.gz linux-f690808e17925fc45217eb22e8670902ecee5c1b.tar.bz2 linux-f690808e17925fc45217eb22e8670902ecee5c1b.zip |
[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/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index d29861844903..e50ad7dbbde8 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -364,7 +364,7 @@ static int rt_cache_seq_show(struct seq_file *seq, void *v) return 0; } -static struct seq_operations rt_cache_seq_ops = { +static const struct seq_operations rt_cache_seq_ops = { .start = rt_cache_seq_start, .next = rt_cache_seq_next, .stop = rt_cache_seq_stop, @@ -470,7 +470,7 @@ static int rt_cpu_seq_show(struct seq_file *seq, void *v) return 0; } -static struct seq_operations rt_cpu_seq_ops = { +static const struct seq_operations rt_cpu_seq_ops = { .start = rt_cpu_seq_start, .next = rt_cpu_seq_next, .stop = rt_cpu_seq_stop, |