Go to the documentation of this file.
15 #ifndef _ASM_TILE_CACHE_H
16 #define _ASM_TILE_CACHE_H
21 #define L1_CACHE_SHIFT CHIP_L1D_LOG_LINE_SIZE()
22 #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
25 #define L2_CACHE_SHIFT CHIP_L2_LOG_LINE_SIZE()
26 #define L2_CACHE_BYTES (1 << L2_CACHE_SHIFT)
27 #define L2_CACHE_ALIGN(x) (((x)+(L2_CACHE_BYTES-1)) & -L2_CACHE_BYTES)
40 #define ARCH_DMA_MINALIGN L2_CACHE_BYTES
43 #define SMP_CACHE_BYTES_SHIFT L2_CACHE_SHIFT
44 #define SMP_CACHE_BYTES L2_CACHE_BYTES
45 #define INTERNODE_CACHE_SHIFT L2_CACHE_SHIFT
46 #define INTERNODE_CACHE_BYTES L2_CACHE_BYTES
49 #define __read_mostly __attribute__((__section__(".data..read_mostly")))
55 #define __write_once __attribute__((__section__(".w1data")))