| Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| Ralf Baechle | 0015365 | 2005-10-01 00:00:00 +0100 | [diff] [blame] | 2 | #ifndef __ASM_MACH_GENERIC_KMALLOC_H |
| 3 | #define __ASM_MACH_GENERIC_KMALLOC_H |
| 4 | |
| Ralf Baechle | 0015365 | 2005-10-01 00:00:00 +0100 | [diff] [blame] | 5 | |
| 6 | #ifndef CONFIG_DMA_COHERENT |
| 7 | /* |
| 8 | * Total overkill for most systems but need as a safe default. |
| Ralf Baechle | 9a88cbb | 2006-11-16 02:56:12 +0000 | [diff] [blame] | 9 | * Set this one if any device in the system might do non-coherent DMA. |
| Ralf Baechle | 0015365 | 2005-10-01 00:00:00 +0100 | [diff] [blame] | 10 | */ |
| FUJITA Tomonori | a6eb9fe | 2010-08-10 18:03:22 -0700 | [diff] [blame] | 11 | #define ARCH_DMA_MINALIGN 128 |
| Ralf Baechle | 0015365 | 2005-10-01 00:00:00 +0100 | [diff] [blame] | 12 | #endif |
| 13 | |
| 14 | #endif /* __ASM_MACH_GENERIC_KMALLOC_H */ |