/arch/mips/include/asm/mach-generic/kmalloc.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35 · C++ Header · 13 lines · 6 code · 3 blank · 4 comment · 0 complexity · e9fc04d0eacf14dea19ab474dea003cc MD5 · raw file

  1. #ifndef __ASM_MACH_GENERIC_KMALLOC_H
  2. #define __ASM_MACH_GENERIC_KMALLOC_H
  3. #ifndef CONFIG_DMA_COHERENT
  4. /*
  5. * Total overkill for most systems but need as a safe default.
  6. * Set this one if any device in the system might do non-coherent DMA.
  7. */
  8. #define ARCH_KMALLOC_MINALIGN 128
  9. #endif
  10. #endif /* __ASM_MACH_GENERIC_KMALLOC_H */