intel-iommu: fix build error with INTR_REMAP=y and DMAR=n
commit43f7392ba9e2585bf34f21399b1ed78692b5d437
authorJoerg Roedel <joerg.roedel@amd.com>
Sat, 3 Jan 2009 22:56:27 +0000 (3 23:56 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Feb 2009 10:00:53 +0000 (9 10:00 +0000)
treec39a18e7bd3185bdfae392b8074fff75a90f39eb
parent8e4921515c1a379539607eb443d51c30f4f7f338
intel-iommu: fix build error with INTR_REMAP=y and DMAR=n

This fix should be safe since iommu->agaw is only used in intel-iommu.c.
And this file is only compiled with DMAR=y.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/dmar.c