diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:58 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:58 -0500 |
commit | 12d6f21eacc21d84a809829543f2fe45c7e37319 (patch) | |
tree | 6985f2370ad238fb2a568547a5049751d7c95a69 /include/asm-x86 | |
parent | 9a3dc7804e9856668caef41efc54179e61ffccc0 (diff) |
x86: do not PSE on CONFIG_DEBUG_PAGEALLOC=y
get more testing of the c_p_a() code done by not turning off
PSE on DEBUG_PAGEALLOC.
this simplifies the early pagetable setup code, and tests
the largepage-splitup code quite heavily.
In the end, all the largepages will be split up pretty quickly,
so there's no difference to how DEBUG_PAGEALLOC worked before.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/cacheflush.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-x86/cacheflush.h b/include/asm-x86/cacheflush.h index 9411a2d3f19c..fccb563e2305 100644 --- a/include/asm-x86/cacheflush.h +++ b/include/asm-x86/cacheflush.h | |||
@@ -29,11 +29,6 @@ int change_page_attr(struct page *page, int numpages, pgprot_t prot); | |||
29 | int change_page_attr_addr(unsigned long addr, int numpages, pgprot_t prot); | 29 | int change_page_attr_addr(unsigned long addr, int numpages, pgprot_t prot); |
30 | void clflush_cache_range(void *addr, int size); | 30 | void clflush_cache_range(void *addr, int size); |
31 | 31 | ||
32 | #ifdef CONFIG_DEBUG_PAGEALLOC | ||
33 | /* internal debugging function */ | ||
34 | void kernel_map_pages(struct page *page, int numpages, int enable); | ||
35 | #endif | ||
36 | |||
37 | #ifdef CONFIG_DEBUG_RODATA | 32 | #ifdef CONFIG_DEBUG_RODATA |
38 | void mark_rodata_ro(void); | 33 | void mark_rodata_ro(void); |
39 | #endif | 34 | #endif |