Re: [PATCH] iommu/intel: Fix build failure with intel-gtt and !intel-iommu

Joerg Roedel
2011-11-14T13:26:47Z

On Fri, Nov 11, 2011 at 01:52:33PM +0000, David Woodhouse wrote:
> On Fri, 2011-11-11 at 14:48 +0100, Joerg Roedel wrote:
> > +#define intel_iommu_gfx_mapped 1
>
> That ought to be zero; if the IOMMU code isn't present, it's
> *definitely* not mapped through the IOMMU :)

Okay, I change this to 0 in my patch.

> But I'm fairly sure this was already noticed and a patch is on its way
> upstream already.

It is not yet fixed upstream. I plan to send fixes to Linus soon. Any
objection against me including this if its not fixed until then?