bitmap: fix seq_bitmap and seq_cpumask to take const pointer
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Dec 2008 22:35:14 +0000 (09:05 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Dec 2008 22:35:14 +0000 (09:05 +1030)
commitcb78a0ce69fad2026825f957e24e2d9cda1ec9f1
tree9a1359350c46f34394f715d9bebadc9cde842fa5
parent4b0bc0bca83f3fb7cf920e2ec80684c15d2269c0
bitmap: fix seq_bitmap and seq_cpumask to take const pointer

Impact: cleanup

seq_bitmap just calls bitmap_scnprintf on the bits: that arg can be const.
Similarly, seq_cpumask just calls seq_bitmap.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
fs/seq_file.c
include/linux/seq_file.h