android_kernel_xiaomi_sm8350/arch/mips/include/asm/mach-generic/kmalloc.h

14 lines
329 B
C
Raw Normal View History

#ifndef __ASM_MACH_GENERIC_KMALLOC_H
#define __ASM_MACH_GENERIC_KMALLOC_H
#ifndef CONFIG_DMA_COHERENT
/*
* Total overkill for most systems but need as a safe default.
* Set this one if any device in the system might do non-coherent DMA.
*/
#define ARCH_KMALLOC_MINALIGN 128
#endif
#endif /* __ASM_MACH_GENERIC_KMALLOC_H */