1 #ifndef __TOOLS_LINUX_CACHE_H
2 #define __TOOLS_LINUX_CACHE_H
4 #define L1_CACHE_BYTES 64
5 #define SMP_CACHE_BYTES L1_CACHE_BYTES
7 #define L1_CACHE_ALIGN(x) __ALIGN_KERNEL(x, L1_CACHE_BYTES)
10 #define __ro_after_init
12 #define ____cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES)))
13 #define ____cacheline_aligned_in_smp ____cacheline_aligned
15 #endif /* __TOOLS_LINUX_CACHE_H */