diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2012-11-04 02:03:43 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-11-15 13:01:04 +1100 |
commit | c5a0809a24c19fcefea5f3aeb07bde9a2dee5d80 (patch) | |
tree | 7d3977b064fa374f66e1392e7756bc5851225b70 /security/tomoyo/common.h | |
parent | d7a1ed163a3bb7aa727d3f9335349055aeea110c (diff) | |
download | talos-op-linux-c5a0809a24c19fcefea5f3aeb07bde9a2dee5d80.tar.gz talos-op-linux-c5a0809a24c19fcefea5f3aeb07bde9a2dee5d80.zip |
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>
Diffstat (limited to 'security/tomoyo/common.h')
0 files changed, 0 insertions, 0 deletions