mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
06ca4a6eb4
This patch adds support for CMA to dma-mapping subsystem for x86 architecture that uses common pci-dma/pci-nommu implementation. This allows to test CMA on KVM/QEMU and a lot of common x86 boxes. Change-Id: I8c826faaef1ae6c558db9deb9f693e551fc89ec4 Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> CC: Michal Nazarewicz <mina86@mina86.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
13 lines
253 B
C
13 lines
253 B
C
#ifndef ASMX86_DMA_CONTIGUOUS_H
|
|
#define ASMX86_DMA_CONTIGUOUS_H
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
#include <linux/types.h>
|
|
#include <asm-generic/dma-contiguous.h>
|
|
|
|
static inline void
|
|
dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) { }
|
|
|
|
#endif
|
|
#endif
|