dma_map_sg symbol needed in kallsyms
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.
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!