summaryrefslogtreecommitdiff
path: root/arch/c6x/include/asm/setup.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-16 18:27:40 +0300
committerChristoph Hellwig <hch@lst.de>2018-05-19 09:46:12 +0300
commit7f5c1ea3b707f349af539c7cb4ade8c9d0ad8452 (patch)
treeaca64e874248e8392c4eb3cb4c96f0446e463d50 /arch/c6x/include/asm/setup.h
parent6c3e71dd63a0cc0ce3bd1a4340c1d51a609d372c (diff)
downloadlinux-7f5c1ea3b707f349af539c7cb4ade8c9d0ad8452.tar.xz
c6x: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Mark Salter <msalter@redhat.com>
Diffstat (limited to 'arch/c6x/include/asm/setup.h')
-rw-r--r--arch/c6x/include/asm/setup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/setup.h b/arch/c6x/include/asm/setup.h
index 852afb209afb..350f34debb19 100644
--- a/arch/c6x/include/asm/setup.h
+++ b/arch/c6x/include/asm/setup.h
@@ -28,5 +28,7 @@ extern unsigned char c6x_fuse_mac[6];
extern void machine_init(unsigned long dt_ptr);
extern void time_init(void);
+extern void coherent_mem_init(u32 start, u32 size);
+
#endif /* !__ASSEMBLY__ */
#endif /* _ASM_C6X_SETUP_H */