diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:09 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:09 -0500 |
commit | 4c61afcdb2cd4be299c1442b33adf312b695e2d7 (patch) | |
tree | 8f51b96e2f6520c63b7c54dd84f4840ab9157590 /include/asm-x86 | |
parent | 3b233e52f70bf102078b2c0c3f7f86a441689056 (diff) |
x86: fix clflush_page_range logic
only present ptes must be flushed.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/cacheflush.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/cacheflush.h b/include/asm-x86/cacheflush.h index 3e74aff90809..8dd8c5e3cc7f 100644 --- a/include/asm-x86/cacheflush.h +++ b/include/asm-x86/cacheflush.h | |||
@@ -42,7 +42,7 @@ int set_memory_ro(unsigned long addr, int numpages); | |||
42 | int set_memory_rw(unsigned long addr, int numpages); | 42 | int set_memory_rw(unsigned long addr, int numpages); |
43 | int set_memory_np(unsigned long addr, int numpages); | 43 | int set_memory_np(unsigned long addr, int numpages); |
44 | 44 | ||
45 | void clflush_cache_range(void *addr, int size); | 45 | void clflush_cache_range(void *addr, unsigned int size); |
46 | 46 | ||
47 | #ifdef CONFIG_DEBUG_RODATA | 47 | #ifdef CONFIG_DEBUG_RODATA |
48 | void mark_rodata_ro(void); | 48 | void mark_rodata_ro(void); |