/arch/m68k/include/asm/cache.h

https://bitbucket.org/cresqo/cm7-p500-kernel · C Header · 13 lines · 6 code · 3 blank · 4 comment · 0 complexity · 16aec9fe6bfe4c074436515b706729e6 MD5 · raw file

  1. /*
  2. * include/asm-m68k/cache.h
  3. */
  4. #ifndef __ARCH_M68K_CACHE_H
  5. #define __ARCH_M68K_CACHE_H
  6. /* bytes per L1 cache line */
  7. #define L1_CACHE_SHIFT 4
  8. #define L1_CACHE_BYTES (1<< L1_CACHE_SHIFT)
  9. #define ARCH_KMALLOC_MINALIGN L1_CACHE_BYTES
  10. #endif