cache.h 321 B

123456789101112131415
  1. /*
  2. * include/asm-i386/cache.h
  3. */
  4. #ifndef __ARCH_I386_CACHE_H
  5. #define __ARCH_I386_CACHE_H
  6. #include <linux/config.h>
  7. /* L1 cache line size */
  8. #define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
  9. #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
  10. #define __read_mostly __attribute__((__section__(".data.read_mostly")))
  11. #endif