diff options
author | Haicheng Li <haicheng.li@linux.intel.com> | 2010-05-19 17:42:14 +0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-08-26 14:02:29 -0700 |
commit | 6afb5157b9eba4092e2f0f54d24a3806409bdde5 (patch) | |
tree | 5d213ef0366441af288b3a293557df09cb45cdca /arch/x86/include/asm/pgtable_64.h | |
parent | 61c77326d1df079f202fa79403c3ccd8c5966a81 (diff) | |
download | blackbird-op-linux-6afb5157b9eba4092e2f0f54d24a3806409bdde5.tar.gz blackbird-op-linux-6afb5157b9eba4092e2f0f54d24a3806409bdde5.zip |
x86, mm: Separate x86_64 vmalloc_sync_all() into separate functions
No behavior change.
Move some of vmalloc_sync_all() code into a new function
sync_global_pgds() that will be useful for memory hotplug.
Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com>
LKML-Reference: <4C6E4ECD.1090607@linux.intel.com>
Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/pgtable_64.h')
-rw-r--r-- | arch/x86/include/asm/pgtable_64.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pgtable_64.h b/arch/x86/include/asm/pgtable_64.h index 076052cd62be..f96ac9bedf75 100644 --- a/arch/x86/include/asm/pgtable_64.h +++ b/arch/x86/include/asm/pgtable_64.h @@ -102,6 +102,8 @@ static inline void native_pgd_clear(pgd_t *pgd) native_set_pgd(pgd, native_make_pgd(0)); } +extern void sync_global_pgds(unsigned long start, unsigned long end); + /* * Conversion functions: convert a page and protection to a page entry, * and a page entry and page directory to the page they refer to. |