Thread (3 messages) 3 messages, 2 authors, 2011-06-14

[PATCH] dma-mapping: Undefine dma_map_single(), etc if CONFIG_HAVE_DMA_ATTRS is defined

From: Kukjin Kim <hidden>
Date: 2011-06-14 05:20:22
Also in: linux-arch, lkml

pullip.cho at samsung.com wrote:
From: KyongHo Cho <redacted>

If <asm/dma-mapping.h> includes <asm-generic/dma-mapping-common.h>,
dma_map_single() become defined recursively when CONFIG_HAVE_DMA_ATTRS
is not defined.
Since dma_map_*_attrs() are defined in <linux/dma-mapping.h>, those
in <asm-generic/dma-mapping-common.h> must be not defined
if CONFIG_HAVE_DMA_ATTRS is not defined.

Signed-off-by: KyongHo Cho <redacted>
CC: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
CC: Joerg Roedel <redacted>
CC Arnd Bergmann [off-list ref]

Change-Id: Ib99ee2b355dbe679263ce2e4e27d6219148c8338
Please don't use this here.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim [off-list ref], Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help