xref: /OK3568_Linux_fs/kernel/arch/mips/include/asm/mach-ip32/kmalloc.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef __ASM_MACH_IP32_KMALLOC_H
3*4882a593Smuzhiyun #define __ASM_MACH_IP32_KMALLOC_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun #if defined(CONFIG_CPU_R5000) || defined(CONFIG_CPU_RM7000)
7*4882a593Smuzhiyun #define ARCH_DMA_MINALIGN	32
8*4882a593Smuzhiyun #else
9*4882a593Smuzhiyun #define ARCH_DMA_MINALIGN	128
10*4882a593Smuzhiyun #endif
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #endif /* __ASM_MACH_IP32_KMALLOC_H */
13