xref: /linux/arch/x86/include/asm/cacheflush.h (revision 748e84b79af0121a39eb55f0cb5a727e08eb91b2)
1 #ifndef _ASM_X86_CACHEFLUSH_H
2 #define _ASM_X86_CACHEFLUSH_H
3 
4 /* Caches aren't brain-dead on the intel. */
5 #include <asm-generic/cacheflush.h>
6 #include <asm/special_insns.h>
7 
8 void clflush_cache_range(void *addr, unsigned int size);
9 
10 #define mmio_flush_range(addr, size) clflush_cache_range(addr, size)
11 
12 #endif /* _ASM_X86_CACHEFLUSH_H */
13