Loading...
1#ifndef __ASM_MACH_GENERIC_KMALLOC_H
2#define __ASM_MACH_GENERIC_KMALLOC_H
3
4
5#ifndef CONFIG_DMA_COHERENT
6/*
7 * Total overkill for most systems but need as a safe default.
8 * Set this one if any device in the system might do non-coherent DMA.
9 */
10#define ARCH_DMA_MINALIGN 128
11#endif
12
13#endif /* __ASM_MACH_GENERIC_KMALLOC_H */
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __ASM_MACH_GENERIC_KMALLOC_H
3#define __ASM_MACH_GENERIC_KMALLOC_H
4
5
6#ifndef CONFIG_DMA_COHERENT
7/*
8 * Total overkill for most systems but need as a safe default.
9 * Set this one if any device in the system might do non-coherent DMA.
10 */
11#define ARCH_DMA_MINALIGN 128
12#endif
13
14#endif /* __ASM_MACH_GENERIC_KMALLOC_H */