forked from luck/tmp_suning_uos_patched
x86: prepare for pageattr.c unification
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
44af6c41e6
commit
6050be70d8
@ -9,14 +9,6 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/mm.h>
|
||||
|
||||
void clflush_cache_range(void *addr, int size)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < size; i += boot_cpu_data.x86_clflush_size)
|
||||
clflush(addr+i);
|
||||
}
|
||||
|
||||
#include <asm/processor.h>
|
||||
#include <asm/tlbflush.h>
|
||||
#include <asm/sections.h>
|
||||
|
Loading…
Reference in New Issue
Block a user