OpenCloudOS-Kernel/arch/x86/include/asm/cacheflush.h

14 lines
329 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_CACHEFLUSH_H
#define _ASM_X86_CACHEFLUSH_H
#include <linux/mm.h>
/* Caches aren't brain-dead on the intel. */
#include <asm-generic/cacheflush.h>
#include <asm/special_insns.h>
void clflush_cache_range(void *addr, unsigned int size);
#endif /* _ASM_X86_CACHEFLUSH_H */