linux/arch/cris/include/asm
Geert Uytterhoeven 063acebaf4 cris: Provide dma_mmap_coherent() and dma_get_sgtable()
cris/allmodconfig:

drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’:
drivers/media/v4l2-core/videobuf2-dma-contig.c:204: error: implicit declaration of function ‘dma_mmap_coherent’
drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_get_base_sgt’:
drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit declaration of function ‘dma_get_sgtable’

For architectures using dma_map_ops, dma_mmap_coherent() and
dma_get_sgtable() are provided in <asm-generic/dma-mapping-common.h>.

Cris does not use dma_map_ops, hence it should implement them as inline
stubs using dma_common_mmap() and dma_common_get_sgtable().

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: linux-cris-kernel@axis.com
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2013-01-29 08:11:14 +01:00
..
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
atomic.h Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
axisflashmap.h
barrier.h Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
bitops.h Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
bug.h
bugs.h
cache.h
cacheflush.h block: add helpers to run flush_dcache_page() against a bio and a request's pages 2009-11-26 09:16:19 +01:00
checksum.h
cmpxchg.h Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h cris: Provide dma_mmap_coherent() and dma_get_sgtable() 2013-01-29 08:11:14 +01:00
dma.h
elf.h cross-arch: don't corrupt personality flags upon exec() 2012-10-06 03:04:47 +09:00
emergency-restart.h
eshlibld.h
etraxi2c.h
fasttimer.h
fb.h
ftrace.h tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
futex.h
hardirq.h CRIS: convert to asm-generic/hardirq.h 2009-09-01 17:23:32 +02:00
hw_irq.h
io.h CRIS: fix I/O macros 2012-12-18 15:02:11 -08:00
irq_regs.h
irq.h
irqflags.h Fix IRQ flag handling naming 2010-10-07 14:08:55 +01:00
Kbuild UAPI Disintegration 2012-10-09 2012-12-20 12:48:53 +01:00
kdebug.h
kmap_types.h kmap_types: make most arches use generic header file 2009-06-16 19:47:51 -07:00
linkage.h
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
local.h
mmu_context.h CRIS: Change DEFINE_PER_CPU of current_pgd to be non volatile. 2009-06-24 15:13:41 +09:00
mmu.h
mutex.h
page.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
pci.h cris/PCI: remove pcibios_assign_resources() 2012-10-03 09:56:42 +02:00
percpu.h
pgalloc.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
pgtable.h Fix common misspellings 2011-03-31 11:26:23 -03:00
processor.h cris: switch to generic kernel_thread() 2012-10-14 23:12:25 -04:00
ptrace.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2012-12-20 18:05:28 -08:00
scatterlist.h remove needless ISA_DMA_THRESHOLD 2010-08-07 18:15:50 +02:00
sections.h
segment.h
serial.h cris: add arch/cris/include/asm/serial.h 2011-08-25 16:25:35 -07:00
shmparam.h
signal.h UAPI Disintegration 2012-10-09 2012-12-20 12:48:53 +01:00
smp.h
spinlock.h
string.h CRISv32: Add arch optimized strcmp. 2009-06-10 15:21:03 +02:00
swab.h UAPI: (Scripted) Disintegrate arch/cris/include/asm 2012-10-09 09:46:45 +01:00
switch_to.h Disintegrate asm/system.h for CRIS 2012-03-28 18:30:02 +01:00
termios.h UAPI: (Scripted) Disintegrate arch/cris/include/asm 2012-10-09 09:46:45 +01:00
thread_info.h sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
timex.h
tlb.h
tlbflush.h
topology.h
types.h UAPI: (Scripted) Disintegrate arch/cris/include/asm 2012-10-09 09:46:45 +01:00
uaccess.h
ucontext.h
unaligned.h
unistd.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2012-12-20 18:05:28 -08:00
user.h