From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>,
Lucas Stach <dev@lynxeye.de>,
Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: #define dma_alloc dma_alloc
Date: Tue, 5 May 2015 14:13:16 +0200 [thread overview]
Message-ID: <5548B3DC.7040101@pengutronix.de> (raw)
In-Reply-To: <20150505151635.dcf30490fbe737e024aa83f6@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 677 bytes --]
On 05/05/2015 02:16 PM, Antony Pavlov wrote:
> Just out of curiosity, why we need "#define dma_alloc dma_alloc" in dma-related header files?
>
> E.g.
>
> barebox$ git grep "#define dma_alloc dma_alloc"
> arch/arm/include/asm/dma.h:#define dma_alloc dma_alloc
> arch/nios2/include/asm/dma-mapping.h:#define dma_alloc dma_alloc
Look if there's a matching "#ifdef dma_alloc".
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2015-05-05 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-05 12:16 #define dma_alloc dma_alloc Antony Pavlov
2015-05-05 12:13 ` Marc Kleine-Budde [this message]
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=5548B3DC.7040101@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=dev@lynxeye.de \
--cc=s.hauer@pengutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.