You're doing it right, but maybe there is a problem in your source tree.
linux/dma-mapping.h includes asm/dma-mapping.h where include/asm should be a link to include/asm-x86_64 in your sources. That will bring in the correct architecture-specific definition.
Is your kernel source installed from an rpm, or is a downloaded tarball?
|