|
|
1.1 ! root 1: /* ! 2: * include/asm-i386/cache.h ! 3: */ ! 4: #ifndef __ARCH_I386_CACHE_H ! 5: #define __ARCH_I386_CACHE_H ! 6: ! 7: /* bytes per L1 cache line */ ! 8: #if CPU==586 || CPU==686 ! 9: #define L1_CACHE_BYTES 32 ! 10: #else ! 11: #define L1_CACHE_BYTES 16 ! 12: #endif ! 13: ! 14: #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)) ! 15: ! 16: #define SMP_CACHE_BYTES L1_CACHE_BYTES ! 17: ! 18: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.