summaryrefslogtreecommitdiffstats
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-30 22:05:11 -0600
committerRusty Russell <rusty@rustcorp.com.au>2009-03-30 22:05:11 +1030
commitaf76aba00fdcfb21535c9f9872245d14097a4561 (patch)
tree221ec0b2cd01c7629abc1f30f0f563e1731c1683 /fs/seq_file.c
parent1a2142afa5646ad5af44bbe1febaa5e0b7e71156 (diff)
downloadlinux-stable-af76aba00fdcfb21535c9f9872245d14097a4561.tar.gz
linux-stable-af76aba00fdcfb21535c9f9872245d14097a4561.tar.bz2
linux-stable-af76aba00fdcfb21535c9f9872245d14097a4561.zip
cpumask: fix seq_bitmap_*() functions.
1) seq_bitmap_list() should take a const. 2) All the seq_bitmap should use cpumask_bits(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs/seq_file.c')
-rw-r--r--fs/seq_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/seq_file.c b/fs/seq_file.c
index a1a4cfe19210..7f40f30c55c5 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -513,7 +513,7 @@ int seq_bitmap(struct seq_file *m, const unsigned long *bits,
}
EXPORT_SYMBOL(seq_bitmap);
-int seq_bitmap_list(struct seq_file *m, unsigned long *bits,
+int seq_bitmap_list(struct seq_file *m, const unsigned long *bits,
unsigned int nr_bits)
{
if (m->count < m->size) {