WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-merge

Re: [Xen-merge] AMD64 dma-mapping

On Tue, Jan 24, 2006 at 01:53:35PM -0600, Langsdorf, Mark wrote:
> I'm trying enable the IOMMU in AMD Opteron systems
> in the linux-2.6-xen.hg codebase.
> 
> If I turn on CONFIG_GART_IOMMU in the Kconfig,
> enable it in the .config file, and build the 
> kernel, I get errors because
> include/asm-i386/mach-xen/asm/dma-mapping.h
> is included instead of 
> include/asm-x86_64/mach-xen/asm/dma-mapping.h
> 
> I can't figure out how or where the build system
> decides which dma-mapping file to include.  Help
> would be appreciated.

The build always uses include/asm, which should be symlink'd to the
right architecture's asm-$(ARCH) directory. Are you sure you're
building for x86-64? is gart the only thing that's pulling in the
wrong dma-mapping.h?

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


_______________________________________________
Xen-merge mailing list
Xen-merge@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-merge

<Prev in Thread] Current Thread [Next in Thread>