xref: /openbmc/linux/arch/x86/include/asm/cacheflush.h (revision a36954f5)
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