[PATCH v3 0/3] dma-mapping: Define dma_{alloc,free}_attrs() for all archs

2013-05-27 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAS_DMA=y, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAS_DMA also have both of these definitions provided by dma-mapping-broken.h. Provide a default definition for the archs that define

[PATCH v3 0/3] dma-mapping: Define dma_{alloc,free}_attrs() for all archs

2013-05-27 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAS_DMA=y, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAS_DMA also have both of these definitions provided by dma-mapping-broken.h. Provide a default definition for the archs that define