From: "Clément Leger" <cleger@kalray.eu>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] dma: select GENERIC_ALLOCATOR for DMA_REMAP
Date: Thu, 21 Mar 2019 11:20:29 +0100 (CET) [thread overview]
Message-ID: <1741404498.4767335.1553163629182.JavaMail.zimbra@kalray.eu> (raw)
When DMA_REMAP is enabled, code in remap.c needs generic allocator.
It currently worked since few architectures uses it (arm64, csky) and
they both select GENERIC_ALLOCATOR.
Signed-off-by: Clement Leger <clement.leger@kalray.eu>
---
kernel/dma/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/dma/Kconfig b/kernel/dma/Kconfig
index a06ba3013b3b..6a43c4ae77f9 100644
--- a/kernel/dma/Kconfig
+++ b/kernel/dma/Kconfig
@@ -58,6 +58,7 @@ config SWIOTLB
config DMA_REMAP
depends on MMU
bool
+ select GENERIC_ALLOCATOR
config DMA_DIRECT_REMAP
bool
--
2.15.0.276.g89ea799
next reply other threads:[~2019-03-21 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-21 10:20 Clément Leger [this message]
2019-03-22 8:30 ` Clément Leger
2019-03-27 8:07 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1741404498.4767335.1553163629182.JavaMail.zimbra@kalray.eu \
--to=cleger@kalray.eu \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome