]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/x86/include/asm/cacheflush.h
x86/bugs, KVM: Support the combination of guest and host IBRS
[mirror_ubuntu-artful-kernel.git] / arch / x86 / include / asm / cacheflush.h
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 */