RE: [PATCH -tip] IA64: fix the compile error on IA64_DIG_VTD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Jan 2009 10:00:11 +0900
FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote:

> On Tue, 27 Jan 2009 09:17:58 -0800
> "Luck, Tony" <tony.luck@xxxxxxxxx> wrote:
> 
> > > > > ---
> > > > >  arch/ia64/kernel/dma-mapping.c |    3 +++
> > > > >  arch/ia64/kernel/pci-swiotlb.c |    3 ---
> > > > >  2 files changed, 3 insertions(+), 3 deletions(-)
> > > >
> > > > Applied to tip/core/iommu, thanks!
> > >
> > > Tony, is this fix fine with you too?
> > 
> > It works ... and dma-mapping.c is OK as a location for the
> > definition.  But there seemes to be some small scope for a
> > related cleanup:
> > 
> > There are "extern" declarations for "iommu_detected" in both
> > <asm/iommu.h> (x86 and ia64) and also in <linux/dmar.h>
> 
> We can remove them in dmar.h. X86 exported iommu_detected and no_iommu
> in several IOMMU code and we merged them into dmar.h. Seems that we
                                                ~~~~~~
                                                asm/iommu.h
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux