9
0
Fork 0
barebox/arch/ppc/include/asm
Marc Kleine-Budde ed2180d658 blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines
Some drivers call dma_inv_range() on buffers, on arm these buffers must
be cache line aligned. This patch introduces a generic dma_alloc,
dma_free. Archs can implement in their own functions in "asm/dma.h" and add a:

	#define dma_alloc dma_alloc
	#define dma_free dma_free

On all other archs the generic versions, which translate into xmalloc
and free are used.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-06-30 12:46:25 +02:00
..
atomic.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
barebox.h ppc: remove unused bd_t 2012-04-13 23:38:22 +02:00
bitops.h ppc: Add fls, fls64, __ilog2_u64 and ffs64 bitops 2012-05-02 10:09:22 +02:00
byteorder.h import swab.h arch implementation form linux v2.3.37 2011-01-17 09:39:16 +01:00
cache.h Initial e500v2 start up code 2012-05-17 20:33:38 +02:00
common.h Preparation stage to support multiple PPC architectures 2012-05-02 10:16:30 +02:00
config.h Initial Freescale 85xx Headers. 2012-05-17 20:33:38 +02:00
dma.h blackfin, mips, openrisc, ppc, sandbox, x86: add generic dma_alloc, dma_free inlines 2012-06-30 12:46:25 +02:00
e300.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
elf.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
fsl_ddr_sdram.h Initial Freescale 85xx Headers. 2012-05-17 20:33:38 +02:00
fsl_i2c.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
fsl_law.h Initial Freescale 85xx Headers. 2012-05-17 20:33:38 +02:00
fsl_lbc.h Initial Freescale 85xx Headers. 2012-05-17 20:33:38 +02:00
io.h ppc io.h: update following MMIO primitives fix 2012-05-11 09:06:44 +02:00
mc146818rtc.h introduce io.h 2011-09-22 19:03:05 +02:00
mmu.h ppc mmu.h: update for future mpc85xx support 2012-05-02 10:16:04 +02:00
module.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
pci_io.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
posix_types.h types.h: move __kernel_dev_t to include/linux/types.h 2010-09-17 10:56:24 +08:00
ppc_asm.tmpl Preparation stage to support multiple PPC architectures 2012-05-02 10:16:30 +02:00
ppc_defs.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
processor.h ppc processor.h: Update for future mpc85xx support 2012-05-02 10:12:57 +02:00
ptrace.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
sections.h add sections.h header file 2011-01-17 11:04:24 +01:00
sigcontext.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
signal.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
status_led.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
string.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00
swab.h import swab.h arch implementation form linux v2.3.37 2011-01-17 09:39:16 +01:00
types.h [PPC] move include/asm-ppc to arch/ppc/include/asm 2009-10-22 14:21:29 +02:00