Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80517
b: refs/heads/master
c: e81d5dc
h: refs/heads/master
i:
  80515: 745ad88
v: v3
  • Loading branch information
Ingo Molnar committed Jan 30, 2008
1 parent 23b7c74 commit 1b2fa33
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e64c8aa0c5e5d23730b2d702297e01cd7fe53144
refs/heads/master: e81d5dc41b67349c06e80658227c9156738f0df1
16 changes: 8 additions & 8 deletions trunk/arch/x86/mm/pageattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -290,6 +282,14 @@ int change_page_attr(struct page *page, int numpages, pgprot_t prot)
}
EXPORT_SYMBOL(change_page_attr);

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);
}

static void flush_kernel_map(void *arg)
{
/*
Expand Down

0 comments on commit 1b2fa33

Please sign in to comment.