[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM3PiRyBpa7vipUfzEYqvYzeLu=tkUWCo+_G79BXrgG0zG3asg@mail.gmail.com>
Date: Mon, 16 Oct 2017 12:57:55 +1030
From: Marian Mihailescu <marian.mihailescu@...laide.edu.au>
To: linux-kernel@...r.kernel.org
Subject: CONFIG_DMA_NOOP_OPS breaks ARM arch
After commit 7844572c633964c864d9f32dc3f2a8ffe5d70371, dma_noop_ops
are built only for architectures that use it.
For ARM architecture, CONFIG_DMA_NOOP_OPS is not selected, and cannot
be selected.
However, arch/arm/include/asm/dma-mapping.h is referencing dma_noop_ops:
static inline const struct dma_map_ops *get_arch_dma_ops(struct bus_type *bus)
{
return IS_ENABLED(CONFIG_MMU) ? &arm_dma_ops : &dma_noop_ops;
}
I will let a maintainer suggest the best resolution for this :)
Powered by blists - more mailing lists