Ralf Baechle | 0015365 | 2005-10-01 00:00:00 +0100 | [diff] [blame] | 1 | #ifndef __ASM_MACH_GENERIC_KMALLOC_H |
| 2 | #define __ASM_MACH_GENERIC_KMALLOC_H |
| 3 | |
Ralf Baechle | 0015365 | 2005-10-01 00:00:00 +0100 | [diff] [blame] | 4 | |
| 5 | #ifndef CONFIG_DMA_COHERENT |
| 6 | /* |
| 7 | * Total overkill for most systems but need as a safe default. |
Ralf Baechle | 9a88cbb | 2006-11-16 02:56:12 +0000 | [diff] [blame] | 8 | * 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] | 9 | */ |
| 10 | #define ARCH_KMALLOC_MINALIGN 128 |
| 11 | #endif |
| 12 | |
| 13 | #endif /* __ASM_MACH_GENERIC_KMALLOC_H */ |