blob: 74207c7bd00d9b51c98991e83d3d865cc51767bc [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Ralf Baechle00153652005-10-01 00:00:00 +01002#ifndef __ASM_MACH_GENERIC_KMALLOC_H
3#define __ASM_MACH_GENERIC_KMALLOC_H
4
Ralf Baechle00153652005-10-01 00:00:00 +01005
6#ifndef CONFIG_DMA_COHERENT
7/*
8 * Total overkill for most systems but need as a safe default.
Ralf Baechle9a88cbb2006-11-16 02:56:12 +00009 * Set this one if any device in the system might do non-coherent DMA.
Ralf Baechle00153652005-10-01 00:00:00 +010010 */
FUJITA Tomonoria6eb9fe2010-08-10 18:03:22 -070011#define ARCH_DMA_MINALIGN 128
Ralf Baechle00153652005-10-01 00:00:00 +010012#endif
13
14#endif /* __ASM_MACH_GENERIC_KMALLOC_H */