commit | c5a0809a24c19fcefea5f3aeb07bde9a2dee5d80 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Sun Nov 04 02:03:43 2012 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Nov 15 13:01:04 2012 +1100 |
tree | 7d3977b064fa374f66e1392e7756bc5851225b70 | |
parent | d7a1ed163a3bb7aa727d3f9335349055aeea110c [diff] |
powerpc/iommu: Use bitmap library - Caluculate the bitmap size with BITS_TO_LONGS() - Use bitmap_empty() to verify that all bits are cleared This also includes a printk to pr_warn() conversion. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>