summaryrefslogtreecommitdiff
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorShaohui Zheng <shaohui.zheng@intel.com>2010-02-03 00:44:16 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2010-02-03 05:11:23 +0300
commitea0854170c95245a258b386c7a9314399c949fe0 (patch)
tree59a7ec7cbe8200fd79dc4a7188958c2d5cbef5b7 /fs/mbcache.c
parenta225a5cc2c25e1217e68ee2ab8dd4454573fa308 (diff)
downloadlinux-ea0854170c95245a258b386c7a9314399c949fe0.tar.xz
memory hotplug: fix a bug on /dev/mem for 64-bit kernels
Newly added memory can not be accessed via /dev/mem, because we do not update the variables high_memory, max_pfn and max_low_pfn. Add a function update_end_of_memory_vars() to update these variables for 64-bit kernels. [akpm@linux-foundation.org: simplify comment] Signed-off-by: Shaohui Zheng <shaohui.zheng@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Li Haicheng <haicheng.li@intel.com> Reviewed-by: Wu Fengguang <fengguang.wu@intel.com> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions