aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/cacheflush.h
blob: 8b4140f6724f4cfe4cf89135b9e0547baa527d94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _ASM_X86_CACHEFLUSH_H
#define _ASM_X86_CACHEFLUSH_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);

#define mmio_flush_range(addr, size) clflush_cache_range(addr, size)

#endif /* _ASM_X86_CACHEFLUSH_H */