2005-10-01 07:00:00 +08:00
|
|
|
#ifndef __ASM_MACH_GENERIC_KMALLOC_H
|
|
|
|
#define __ASM_MACH_GENERIC_KMALLOC_H
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef CONFIG_DMA_COHERENT
|
|
|
|
/*
|
|
|
|
* Total overkill for most systems but need as a safe default.
|
2006-11-16 10:56:12 +08:00
|
|
|
* Set this one if any device in the system might do non-coherent DMA.
|
2005-10-01 07:00:00 +08:00
|
|
|
*/
|
|
|
|
#define ARCH_KMALLOC_MINALIGN 128
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __ASM_MACH_GENERIC_KMALLOC_H */
|