diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-03-28 14:42:50 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-28 17:14:36 -0700 |
commit | 5a04cca6c39cdd0b8c75b0628da634248f381b62 (patch) | |
tree | 3bb72a3fb05be731f19e97b48d1744783747f43b /include/linux/pid_namespace.h | |
parent | 423a5bb49ec530ec8bbfc73fd2ded83da8e58684 (diff) | |
download | lwn-5a04cca6c39cdd0b8c75b0628da634248f381b62.tar.gz lwn-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 'include/linux/pid_namespace.h')
0 files changed, 0 insertions, 0 deletions