x86, mm: Separate x86_64 vmalloc_sync_all() into separate functions
authorHaicheng Li <haicheng.li@linux.intel.com>
Wed, 19 May 2010 09:42:14 +0000 (17:42 +0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 26 Aug 2010 21:02:29 +0000 (14:02 -0700)
commit6afb5157b9eba4092e2f0f54d24a3806409bdde5
tree5d213ef0366441af288b3a293557df09cb45cdca
parent61c77326d1df079f202fa79403c3ccd8c5966a81
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>
arch/x86/include/asm/pgtable_64.h
arch/x86/mm/fault.c
arch/x86/mm/init_64.c