Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc

Pull sparc fixlet from David Miller:
"Aparc fix to add dma_cache_sync(), even if a nop it should be provided
if dma_{alloc,free}_noncoherent() is provided too"

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc:
sparc: Add NOP dma_cache_sync() implementation.

+8
+8
arch/sparc/include/asm/dma-mapping.h
··· 12 12 #define dma_alloc_noncoherent(d, s, h, f) dma_alloc_coherent(d, s, h, f) 13 13 #define dma_free_noncoherent(d, s, v, h) dma_free_coherent(d, s, v, h) 14 14 15 + static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, 16 + enum dma_data_direction dir) 17 + { 18 + /* Since dma_{alloc,free}_noncoherent() allocated coherent memory, this 19 + * routine can be a nop. 20 + */ 21 + } 22 + 15 23 extern struct dma_map_ops *dma_ops; 16 24 extern struct dma_map_ops *leon_dma_ops; 17 25 extern struct dma_map_ops pci32_dma_ops;