]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86: Use bitmap library functions
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 16 Feb 2011 14:48:35 +0000 (23:48 +0900)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Feb 2011 13:59:22 +0000 (14:59 +0100)
commitda1016df85ed67b6f7dbb765532c54bc35ba08d7
tree4bfae45b4ca0513c38cdf9d542291b846c67fd02
parentb82fef82d56789439e6be638a87a1a5bba1e6e75
x86: Use bitmap library functions

Use bitmap_set()/bitmap_clear() to fill/zero a region of a
bitmap instead of doing set_bit()/clear_bit() each bit.

This change has been tested with ioperm() and there's no
change in behavior.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
LKML-Reference: <1297867715-20394-1-git-send-email-akinobu.mita@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ioport.c