summaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorXishi Qiu2013-11-13 00:07:20 +0100
committerLinus Torvalds2013-11-13 04:09:04 +0100
commitb38a872596dad80bd77d98f5fdbc58cc8f438dbb (patch)
tree7c52732ea81e29f2997fd59e6cf471baf490f2e5 /mm/memory_hotplug.c
parentmm: use pgdat_end_pfn() to simplify the code in others (diff)
downloadkernel-qcow2-linux-b38a872596dad80bd77d98f5fdbc58cc8f438dbb.tar.gz
kernel-qcow2-linux-b38a872596dad80bd77d98f5fdbc58cc8f438dbb.tar.xz
kernel-qcow2-linux-b38a872596dad80bd77d98f5fdbc58cc8f438dbb.zip
mm: use populated_zone() instead of if(zone->present_pages)
Use "if (zone->present_pages)" instead of "if (zone->present_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/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions