x86 gart: replace to_pages macro with iommu_num_pages
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 25 Jul 2008 12:58:00 +0000 (14:58 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 13:43:06 +0000 (15:43 +0200)
commit87e39ea5714dd59ba31e36c25833d2b20255a29d
treec87f426648edc372cab42d7b972971ffb4e25b07
parenta8132e5fe2c4f3f780b8bd3cce7851640f79f1c7
x86 gart: replace to_pages macro with iommu_num_pages

This patch removes the to_pages macro from x86 GART code and calls the generic
iommu_num_pages function instead.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-gart_64.c