linux/arch/xtensa/include/asm
Geert Uytterhoeven da57b936ea xtensa: Provide dummy dma_mmap_coherent() and dma_get_sgtable()
xtensa/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>.

Xtensa does not use dma_map_ops, hence it should implement them itself.
For now, use dummy implementations that just return -EINVAL, until the API
has been finalized.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: linux-xtensa@linux-xtensa.org
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2013-01-29 08:27:41 +01:00
..
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
asmmacro.h
atomic.h xtensa: add s32c1i-based atomic ops implementations 2012-12-18 21:10:22 -08:00
barrier.h xtensa: fix mb and wmb definitions 2012-12-18 21:10:23 -08:00
bitops.h xtensa: add s32c1i-based bitops implementations 2012-12-18 21:10:22 -08:00
bootparam.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
bugs.h
cache.h dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN 2010-08-11 08:59:21 -07:00
cacheasm.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
cacheflush.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
checksum.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
cmpxchg.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
coprocessor.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
current.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
delay.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
dma-mapping.h xtensa: Provide dummy dma_mmap_coherent() and dma_get_sgtable() 2013-01-29 08:27:41 +01:00
dma.h Fix common misspellings 2011-03-31 11:26:23 -03:00
elf.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
fb.h
flat.h xtensa: add flat support 2009-04-02 23:41:29 -07:00
ftrace.h tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
gpio.h gpiolib/arches: Centralise bolierplate asm/gpio.h 2012-05-11 18:00:14 -06:00
highmem.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
hw_irq.h
initialize_mmu.h xtensa: initialize atomctl SR 2012-12-18 21:10:22 -08:00
io.h xtensa: use physical addresses for bus addresses 2012-10-25 14:53:36 -07:00
irq.h xtensa: allow variant to initialize own irq chips 2009-06-22 02:36:59 -07:00
irqflags.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
Kbuild tracing,x86: Add a TSC trace_clock 2012-11-13 15:48:27 -05:00
linkage.h
mmu_context.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
mmu.h xtensa: Use generic asm/mmu.h for nommu 2012-12-09 23:14:19 +01:00
module.h Make most arch asm/module.h files use asm-generic/module.h 2012-09-28 14:31:03 +09:30
mutex.h
nommu_context.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
page.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
param.h UAPI: (Scripted) Disintegrate arch/xtensa/include/asm 2012-10-15 21:48:53 -07:00
pci-bridge.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
pci.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
pgalloc.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
pgtable.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
platform.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
processor.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
prom.h xtensa: add device trees support 2012-12-18 21:10:23 -08: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
regs.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
rwsem.h rwsem: Move duplicate function prototypes to linux/rwsem.h 2011-01-27 12:30:39 +01:00
segment.h
serial.h
shmparam.h
signal.h unify default ptrace_signal_deliver 2012-11-29 00:01:23 -05:00
smp.h
spinlock.h xtensa: add s32c1i-based spinlock implementations 2012-12-18 21:10:22 -08:00
string.h xtensa: fix memscan() 2012-02-03 16:16:40 -08:00
switch_to.h Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
syscall.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
thread_info.h bury the rest of TIF_IRET 2012-10-01 09:58:13 -04:00
timex.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
tlb.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
tlbflush.h xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
traps.h xtensa: add trap_set_handler function 2012-12-18 21:10:22 -08:00
types.h UAPI: (Scripted) Disintegrate arch/xtensa/include/asm 2012-10-15 21:48:53 -07:00
uaccess.h xtensa: clean up files to make them code-style compliant 2012-12-18 21:10:25 -08:00
ucontext.h
unaligned.h
unistd.h Bury the conditionals from kernel_thread/kernel_execve series 2012-12-19 18:07:38 -05:00
user.h
vga.h