Re: [PATCH] replace CONFIG_IOMMU with CONFIG_GART_IOMMU in iommu.h

From: Joerg Roedel
Date: Fri Jul 18 2008 - 07:31:19 EST


On Wed, Jul 09, 2008 at 04:29:41PM +0900, FUJITA Tomonori wrote:
> Should be CONFIG_GART_IOMMU instead of CONFIG_IOMMU here?
>
> Hmm, looks like it would be nice to have more cleanups of iommu.h and
> gart.h.
>
> This is against tip/master.
>
> =
> From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
> Subject: [PATCH] replace CONFIG_IOMMU with CONFIG_GART_IOMMU in iommu.h
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
> ---
> include/asm-x86/iommu.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/asm-x86/iommu.h b/include/asm-x86/iommu.h
> index 07862fd..cb7e989 100644
> --- a/include/asm-x86/iommu.h
> +++ b/include/asm-x86/iommu.h
> @@ -5,7 +5,7 @@ extern void pci_iommu_shutdown(void);
> extern void no_iommu_init(void);
> extern int force_iommu, no_iommu;
> extern int iommu_detected;
> -#ifdef CONFIG_IOMMU
> +#ifdef CONFIG_GART_IOMMU
> extern void gart_iommu_init(void);
> extern void gart_iommu_shutdown(void);
> extern void __init gart_parse_options(char *);

The asm-x86/iommu.h file is a leftover from some patches I submitted
last year. I renamed iommu.h to gart.h but somehow iommu.h still exists
in mainline. I think we should check again if somebody is using that
file and remove it if not.

Joerg
--
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/