summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/cacheflush.h
blob: 3d7db6f35aeb8b95c4af063684ab7df62d1ddecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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>
#include <asm/set_memory.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 */