diff options
author | Shaohui Zheng <shaohui.zheng@intel.com> | 2010-02-02 13:44:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-02-02 18:11:23 -0800 |
commit | ea0854170c95245a258b386c7a9314399c949fe0 (patch) | |
tree | 59a7ec7cbe8200fd79dc4a7188958c2d5cbef5b7 /drivers/block/pktcdvd.c | |
parent | a225a5cc2c25e1217e68ee2ab8dd4454573fa308 (diff) | |
download | blackbird-op-linux-ea0854170c95245a258b386c7a9314399c949fe0.tar.gz blackbird-op-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 'drivers/block/pktcdvd.c')
0 files changed, 0 insertions, 0 deletions