18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __ASM_MACH_GENERIC_KMALLOC_H 38c2ecf20Sopenharmony_ci#define __ASM_MACH_GENERIC_KMALLOC_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#ifdef CONFIG_DMA_NONCOHERENT 68c2ecf20Sopenharmony_ci/* 78c2ecf20Sopenharmony_ci * Total overkill for most systems but need as a safe default. 88c2ecf20Sopenharmony_ci * Set this one if any device in the system might do non-coherent DMA. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci#define ARCH_DMA_MINALIGN 128 118c2ecf20Sopenharmony_ci#endif 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#endif /* __ASM_MACH_GENERIC_KMALLOC_H */ 14