* #define dma_alloc dma_alloc @ 2015-05-05 12:16 Antony Pavlov 2015-05-05 12:13 ` Marc Kleine-Budde 0 siblings, 1 reply; 2+ messages in thread From: Antony Pavlov @ 2015-05-05 12:16 UTC (permalink / raw) To: Marc Kleine-Budde, Lucas Stach, Sascha Hauer; +Cc: barebox Hi, All! 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 -- Best regards, Antony Pavlov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: #define dma_alloc dma_alloc 2015-05-05 12:16 #define dma_alloc dma_alloc Antony Pavlov @ 2015-05-05 12:13 ` Marc Kleine-Budde 0 siblings, 0 replies; 2+ messages in thread From: Marc Kleine-Budde @ 2015-05-05 12:13 UTC (permalink / raw) To: Antony Pavlov, Lucas Stach, Sascha Hauer; +Cc: barebox [-- 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-05 12:13 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-05-05 12:16 #define dma_alloc dma_alloc Antony Pavlov 2015-05-05 12:13 ` Marc Kleine-Budde
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox