Re: [Intel-IOMMU 09/10] Iommu Gfx workaround

From: Andrew Morton
Date: Thu Jun 07 2007 - 20:02:10 EST


On Wed, 06 Jun 2007 11:57:07 -0700
anil.s.keshavamurthy@xxxxxxxxx wrote:

> +#ifdef CONFIG_DMAR_GFX_WA
> + iommu_prepare_gfx_mapping();
> +#endif

Please do

#ifndef CONFIG_DMAR_GFX_WA
static inline void iommu_prepare_gfx_mapping(void)
{
}
#endif

in the head file instead (whole patchset)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/