mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 05:36:53 +07:00
0a2b9a6ea9
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. 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>
14 lines
253 B
C
14 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
|