diff options
author | Xishi Qiu <qiuxishi@huawei.com> | 2013-11-12 15:07:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 12:09:03 +0900 |
commit | 83285c72e08c42848808039ef2d3b67a1bb88832 (patch) | |
tree | 96deaa3deb9a9f5b5b3c5b03f5982eeaea401670 /mm/page_alloc.c | |
parent | 6408068ee6ce9d80d66908a2c01a24ee88afd47d (diff) |
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>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions