We want to use CMA for allocating hash page table and real mode area for PPC64. Hence move DMA contiguous related changes into a seperate config so that ppc64 can enable CMA without requiring DMA contiguous. Acked-by: Michal Nazarewicz <mina86@mina86.com> Acked-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> [removed defconfig changes] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
16 lines
266 B
C
16 lines
266 B
C
#ifndef ASMARM_DMA_CONTIGUOUS_H
|
|
#define ASMARM_DMA_CONTIGUOUS_H
|
|
|
|
#ifdef __KERNEL__
|
|
#ifdef CONFIG_DMA_CMA
|
|
|
|
#include <linux/types.h>
|
|
#include <asm-generic/dma-contiguous.h>
|
|
|
|
void dma_contiguous_early_fixup(phys_addr_t base, unsigned long size);
|
|
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|