1 /*
2  * include/asm-x86/cache.h
3  */
4 #ifndef __ARCH_X86_CACHE_H
5 #define __ARCH_X86_CACHE_H
6 
7 
8 /* L1 cache line size */
9 #define L1_CACHE_SHIFT	(CONFIG_X86_L1_CACHE_SHIFT)
10 #define L1_CACHE_BYTES	(1 << L1_CACHE_SHIFT)
11 
12 /* TODO: Phase out the use of this via cache.h */
13 #define __read_mostly __section(".data.read_mostly")
14 
15 #ifndef __ASSEMBLY__
16 
17 void cache_flush(const void *addr, unsigned int size);
18 void cache_writeback(const void *addr, unsigned int size);
19 
20 #endif
21 
22 #endif
23