--- zzzz-none-000/linux-3.10.107/arch/mips/include/asm/mach-generic/kmalloc.h 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/arch/mips/include/asm/mach-generic/kmalloc.h 2021-11-10 11:53:53.000000000 +0000 @@ -3,11 +3,15 @@ #ifndef CONFIG_DMA_COHERENT +#if defined(CONFIG_AVM_ENHANCED) +#define ARCH_DMA_MINALIGN 64 +#else/*--- #if defined(CONFIG_AVM_ENHANCED) ---*/ /* * 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_DMA_MINALIGN 128 +#endif/*--- #else ---*//*--- #if defined() ---*/ #endif #endif /* __ASM_MACH_GENERIC_KMALLOC_H */