kmalloc.h 365 B

1234567891011121314
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_MACH_GENERIC_KMALLOC_H
  3. #define __ASM_MACH_GENERIC_KMALLOC_H
  4. #ifdef CONFIG_DMA_NONCOHERENT
  5. /*
  6. * Total overkill for most systems but need as a safe default.
  7. * Set this one if any device in the system might do non-coherent DMA.
  8. */
  9. #define ARCH_DMA_MINALIGN 128
  10. #endif
  11. #endif /* __ASM_MACH_GENERIC_KMALLOC_H */