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)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:32 +0000 (11:11 +0200)
commit89f0314d29fa179f4bbaa2c7404cebb99646198e
treef8c7e085a5cb804527f72ed5227c0cef34740ef4
parent9bedc101168cb42071107d55e75cf4a12275b339
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