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