From: Akinobu Mita Date: Sun, 4 Nov 2012 02:03:43 +0000 (+0000) Subject: powerpc/iommu: Use bitmap library X-Git-Tag: v3.8-rc1~68^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5a0809a24c19fcefea5f3aeb07bde9a2dee5d80;p=pandora-kernel.git 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 Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed