summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorToshi Kani <toshi.kani@hp.com>2013-03-13 14:59:31 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-03-13 15:21:44 -0700
commitf8749452adcddd62e3707709ec2ae4856e70a3f2 (patch)
tree68258d007b645f51a0597d1f6f9ee53d2f92f3c8 /kernel
parentebf47beb660e5580df7bee06d5cf9d37c0f22fac (diff)
downloadlwn-f8749452adcddd62e3707709ec2ae4856e70a3f2.tar.gz
lwn-f8749452adcddd62e3707709ec2ae4856e70a3f2.zip
mm: remove_memory(): fix end_pfn setting
remove_memory() calls walk_memory_range() with [start_pfn, end_pfn), where end_pfn is exclusive in this range. Therefore, end_pfn needs to be set to the next page of the end address. Signed-off-by: Toshi Kani <toshi.kani@hp.com> Cc: Wen Congyang <wency@cn.fujitsu.com> Cc: Tang Chen <tangchen@cn.fujitsu.com> Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Jiang Liu <jiang.liu@huawei.com> Cc: Jianguo Wu <wujianguo@huawei.com> Cc: Lai Jiangshan <laijs@cn.fujitsu.com> Cc: Wu Jianguo <wujianguo@huawei.com> Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions