blob: 63feaf2a5f93d1f67643789bafd2fab74b2c5584 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
H. Peter Anvin1965aae2008-10-22 22:26:29 -07002#ifndef _ASM_X86_CACHEFLUSH_H
3#define _ASM_X86_CACHEFLUSH_H
Thomas Gleixnerb2bba722007-10-15 23:28:20 +02004
Thomas Gleixnerb2bba722007-10-15 23:28:20 +02005/* Caches aren't brain-dead on the intel. */
Akinobu Mitacc67ba632011-01-20 20:32:14 +09006#include <asm-generic/cacheflush.h>
David Howellsf05e7982012-03-28 18:11:12 +01007#include <asm/special_insns.h>
Arjan van de Ven7219beb2008-04-17 17:41:31 +02008
Ingo Molnar4c61afc2008-01-30 13:34:09 +01009void clflush_cache_range(void *addr, unsigned int size);
Thomas Gleixnerb2bba722007-10-15 23:28:20 +020010
H. Peter Anvin1965aae2008-10-22 22:26:29 -070011#endif /* _ASM_X86_CACHEFLUSH_H */