Thread (14 messages) flat view 14 messages, 4 authors, 2014-06-11

Re: [RFC PATCH 2/3] DMA, CMA: use general CMA reserved area management framework

From: Michal Nazarewicz <hidden>
Date: 2014-06-11 08:25:08
Also in: kvm, linux-arm-kernel, linux-mm, lkml

On Tue, Jun 10 2014, Joonsoo Kim [off-list ref] wrote:
Without including device.h, build failure occurs.
In dma-contiguous.h, we try to access to dev->cma_area, so we need
device.h. In the past, we included it luckily by swap.h in
drivers/base/dma-contiguous.c. Swap.h includes node.h and then node.h
includes device.h, so we were happy. But, in this patch, I remove
'include <linux/swap.h>' so we need to include device.h explicitly.
Ack.

--=20
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=3D./ `o
..o | Computer Science,  Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz   =
 (o o)
ooo +--[off-list ref]--<xmpp:mina86@jabber.org>--ooO--(_)--Ooo--
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help