bitmap: add bitmap_copy_le()
authorDavid Vrabel <david.vrabel@csr.com>
Wed, 17 Sep 2008 15:34:03 +0000 (16:34 +0100)
committerDavid Vrabel <dv02@dv02pc01.europe.root.pri>
Wed, 17 Sep 2008 15:54:22 +0000 (16:54 +0100)
commitccbe329bcd87924baed96474ec0a6725e3957897
tree7d1f2737916d85aae76e54ab0fefff816fdf4316
parent45e9c0de2e86485f8b6633fd64ab19cfbff167f6
bitmap: add bitmap_copy_le()

bitmap_copy_le() copies a bitmap, putting the bits into little-endian
order (i.e., each unsigned long word in the bitmap is put into
little-endian order).

The UWB stack used bitmaps to manage Medium Access Slot availability,
and these bitmaps need to be written to the hardware in LE order.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
include/linux/bitmap.h
lib/bitmap.c