]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: use pgdat_end_pfn() to simplify the code in others
authorXishi Qiu <qiuxishi@huawei.com>
Tue, 5 Nov 2013 05:55:27 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:27 +0000 (16:55 +1100)
commit626251defeb3fa3f7b69704c2fd5c20d74efd433
tree1239b51a08ce0bc5351c90582a99775cca9b2596
parentb8db7042bd3ddc289b5bc8310c82531fee12a812
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>
fs/proc/kcore.c
mm/bootmem.c
mm/memory_hotplug.c