sysctl: use bitmap library functions
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 28 Mar 2012 21:42:50 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Mar 2012 00:14:36 +0000 (17:14 -0700)
commit5a04cca6c39cdd0b8c75b0628da634248f381b62
tree3bb72a3fb05be731f19e97b48d1744783747f43b
parent423a5bb49ec530ec8bbfc73fd2ded83da8e58684
sysctl: use bitmap library functions

Use bitmap_set() instead of using set_bit() for each bit.  This conversion
is valid because the bitmap is private in the function call and atomic
bitops were unnecessary.

This also includes minor change.
- Use bitmap_copy() for shorter typing

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sysctl.c