Re: [PATCH 2/2] dma-mapping: move all DMA mapping code to kernel/dma

From: Andy Shevchenko
Date: Thu Jun 14 2018 - 08:13:52 EST


On Thu, Jun 14, 2018 at 3:00 PM, Christoph Hellwig <hch@xxxxxx> wrote:
> Currently the code is split over various files with dma- prefixes in the
> lib/ and drives/base directories, and the number of files keeps growing.
> Move them into a single directory to keep the code together and remove
> the file name prefixes. To match the irq infrastructure this directory
> is placed under the kernel/ directory.

For my point of view, makes sense!

> +config HAS_DMA
> + bool
> + depends on !NO_DMA
> + default y

I see it's just move from other file, though we might switch to
def_bool y
instead of two lines.

--
With Best Regards,
Andy Shevchenko