diff options
author | Shaohui Zheng <shaohui.zheng@intel.com> | 2010-02-02 22:44:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-03 03:11:23 +0100 |
commit | ea0854170c95245a258b386c7a9314399c949fe0 (patch) | |
tree | 59a7ec7cbe8200fd79dc4a7188958c2d5cbef5b7 /lib/kobject_uevent.c | |
parent | fault injection: correct function names in documentation (diff) | |
download | linux-ea0854170c95245a258b386c7a9314399c949fe0.tar.xz linux-ea0854170c95245a258b386c7a9314399c949fe0.zip |
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 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions