diff options
author | Andi Kleen <ak@suse.de> | 2006-09-26 04:52:29 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-09-26 04:52:29 -0400 |
commit | b1c78c0fcc29097567e1afc39701012e6d89adb7 (patch) | |
tree | 9b9a2a302740c7a68003ade0536ab244f20cb08c /include/asm-x86_64/pgtable.h | |
parent | 3f14c746a61ec932c204aca820c02c293118c5df (diff) |
[PATCH] Clean up and minor fixes to TLB flush
- Convert CR* accesses to dedicated inline functions and rewrite
the rest as C inlines
- Don't do a double flush for global flushes (pointed out by Zach Amsden)
This was a bug workaround for old CPUs that don't do 64bit and is obsolete.
- Add a proper memory clobber to invlpg
- Remove an unused extern
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/asm-x86_64/pgtable.h')
-rw-r--r-- | include/asm-x86_64/pgtable.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86_64/pgtable.h b/include/asm-x86_64/pgtable.h index a31ab4e68a9b..0c1e2422400a 100644 --- a/include/asm-x86_64/pgtable.h +++ b/include/asm-x86_64/pgtable.h | |||
@@ -25,8 +25,6 @@ extern int nonx_setup(char *str); | |||
25 | extern void paging_init(void); | 25 | extern void paging_init(void); |
26 | extern void clear_kernel_mapping(unsigned long addr, unsigned long size); | 26 | extern void clear_kernel_mapping(unsigned long addr, unsigned long size); |
27 | 27 | ||
28 | extern unsigned long pgkern_mask; | ||
29 | |||
30 | /* | 28 | /* |
31 | * ZERO_PAGE is a global shared page that is always zero: used | 29 | * ZERO_PAGE is a global shared page that is always zero: used |
32 | * for zero-mapped memory areas etc.. | 30 | * for zero-mapped memory areas etc.. |