iommu/core: Use PAGE_SIZE instead of hard-coded value
authorJoerg Roedel <joerg.roedel@amd.com>
Tue, 6 Sep 2011 12:36:17 +0000 (14:36 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Tue, 6 Sep 2011 12:36:17 +0000 (14:36 +0200)
commit85410340e0d0224c78c7d40a3ac7e1b3e9670cf1
tree7893219f4af968ae38ca443f44b478cafd0bb519
parent4099818842abd98ef2b18a8ac7a2e2ad3bc3d7c2
iommu/core: Use PAGE_SIZE instead of hard-coded value

Replace the hard-coded 4kb by PAGE_SIZE to make iommu-api
implementations possible on architectures where
PAGE_SIZE != 4kb.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/iommu.c