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

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.