]> git.baikalelectronics.ru Git - kernel.git/commit
mm: use pgdat_end_pfn() to simplify the code in others
authorXishi Qiu <qiuxishi@huawei.com>
Tue, 12 Nov 2013 23:07:19 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:03 +0000 (12:09 +0900)
commitb918894371a773430b5299ffb2b7eb7cd11d2e52
tree96deaa3deb9a9f5b5b3c5b03f5982eeaea401670
parent7ff1e29871a88c755fbfefc618c27c1a96e68dbf
mm: use pgdat_end_pfn() to simplify the code in others

Use "pgdat_end_pfn()" instead of "pgdat->node_start_pfn +
pgdat->node_spanned_pages".  Simplify the code, no functional change.

Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/kcore.c
mm/bootmem.c
mm/memory_hotplug.c