iommu/amd: Use standard bitmap operation to set bitmap
authorBaoquan He <bhe@redhat.com>
Thu, 15 Sep 2016 08:50:51 +0000 (16:50 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 19 Sep 2016 13:49:01 +0000 (15:49 +0200)
commit5c87f62dd1ea9dab8101a020fa2c6ab47c37797e
tree32b1924b55223f670774525764c9ee52c61fdc9f
parent134414fffc7fdad81e228d232f8ae12a0456127a
iommu/amd: Use standard bitmap operation to set bitmap

It will be more readable and safer than the old setting.

Signed-off-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_init.c