Revision ea0854170c95245a258b386c7a9314399c949fe0 authored by Shaohui Zheng on 02 February 2010, 21:44:16 UTC, committed by Linus Torvalds on 03 February 2010, 02:11:23 UTC
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>
1 parent a225a5c
History
File Mode Size
00-INDEX -rw-r--r-- 788 bytes
3270.ChangeLog -rw-r--r-- 1.8 KB
3270.txt -rw-r--r-- 10.7 KB
CommonIO -rw-r--r-- 4.5 KB
DASD -rw-r--r-- 3.3 KB
Debugging390.txt -rw-r--r-- 95.0 KB
TAPE -rw-r--r-- 4.4 KB
cds.txt -rw-r--r-- 20.5 KB
config3270.sh -rw-r--r-- 2.0 KB
driver-model.txt -rw-r--r-- 9.9 KB
kvm.txt -rw-r--r-- 5.5 KB
monreader.txt -rw-r--r-- 8.4 KB
s390dbf.txt -rw-r--r-- 23.2 KB
zfcpdump.txt -rw-r--r-- 3.7 KB

back to top