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

2014-06-11 Thread Michal Nazarewicz
On Tue, Jun 10 2014, Joonsoo Kim 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 > in

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

2014-06-09 Thread Joonsoo Kim
On Tue, Jun 03, 2014 at 09:00:48AM +0200, Michal Nazarewicz wrote: > On Tue, Jun 03 2014, Joonsoo Kim wrote: > > Now, we have general CMA reserved area management framework, > > so use it for future maintainabilty. There is no functional change. > > > > Signed-off-by: Joonsoo Kim > > Acked-by: Mi

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

2014-06-03 Thread Michal Nazarewicz
On Tue, Jun 03 2014, Joonsoo Kim wrote: > Now, we have general CMA reserved area management framework, > so use it for future maintainabilty. There is no functional change. > > Signed-off-by: Joonsoo Kim Acked-by: Michal Nazarewicz > diff --git a/include/linux/dma-contiguous.h b/include/linux/d

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

2014-06-02 Thread Joonsoo Kim
Now, we have general CMA reserved area management framework, so use it for future maintainabilty. There is no functional change. Signed-off-by: Joonsoo Kim diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index b3fe1cc..4eac559 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig