diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-03-28 23:42:50 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-29 02:14:36 +0200 |
commit | 5a04cca6c39cdd0b8c75b0628da634248f381b62 (patch) | |
tree | 3bb72a3fb05be731f19e97b48d1744783747f43b /lib/syscall.c | |
parent | ipmi: use locks on watchdog timeout set on reboot (diff) | |
download | linux-5a04cca6c39cdd0b8c75b0628da634248f381b62.tar.xz linux-5a04cca6c39cdd0b8c75b0628da634248f381b62.zip |
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>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions