cache.h 320 B

123456789101112
  1. /*
  2. * linux/include/asm-arm26/cache.h
  3. */
  4. #ifndef __ASMARM_CACHE_H
  5. #define __ASMARM_CACHE_H
  6. #define L1_CACHE_SHIFT 5
  7. #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
  8. #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
  9. #define SMP_CACHE_BYTES L1_CACHE_BYTES
  10. #endif