arm64: Provide default implementation for dma_{alloc,free}_attrs
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Tue, 30 Apr 2013 03:02:13 +0000 (04:02 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 7 Jun 2013 16:57:23 +0000 (17:57 +0100)
commitd25749afc6f2a40471a70c04a35633e30cbe59a5
tree8008238a8bbf052593c22d9b117b8ba97ed36ace
parentd683b96b072dc4680fc74964eca77e6a23d1fa6e
arm64: Provide default implementation for dma_{alloc,free}_attrs

Most architectures that define CONFIG_HAS_DMA, 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.

Add default implementations for these functions on arm64.

Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/dma-mapping.h