Hi,

I need the address of dma_map_sg, and Im trying to read it from /proc/kallsyms. Dint find it there and I realized this symbol is never Exported. So i checked the kernel for checking DMA enabling and found the following options all enabled.
CONFIG_HAS_DMA
CONFIG_HAVE_DMA_ATTRS
CONFIG_ISA_DMA_API
Im not sure what else I need to enable or if I need to add some patch to get the right dma_map_sg. The pci_dma_compat.h makes use of this symbol by simply including linux/mapping.h. When I try the same from a kernel module, the symbol is not resolved.

Can someone please shed some light on what I need to patch or enable to get the dma_mapping that fills the addresses of the scatterlist.

Thanks in advance!