]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - 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
CommitLineData
1965aae3
PA
1#ifndef _ASM_X86_CACHEFLUSH_H
2#define _ASM_X86_CACHEFLUSH_H
b2bba72c 3
b2bba72c 4/* Caches aren't brain-dead on the intel. */
cc67ba63 5#include <asm-generic/cacheflush.h>
f05e798a 6#include <asm/special_insns.h>
7219bebd 7
4c61afcd 8void clflush_cache_range(void *addr, unsigned int size);
b2bba72c 9
67a3e8fe
RZ
10#define mmio_flush_range(addr, size) clflush_cache_range(addr, size)
11
1965aae3 12#endif /* _ASM_X86_CACHEFLUSH_H */