commit | c9634cf012321243ee8e4ea0fb0709904cd58395 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <[email protected]> | Fri Oct 07 16:59:12 2016 -0700 |
committer | Linus Torvalds <[email protected]> | Fri Oct 07 18:46:28 2016 -0700 |
tree | 926815887c2fb79ba1d6988f9c10ee6b79a96ea6 | |
parent | 1b51e65eab64fac72cab009691e8ca9915624876 [diff] |
mm: use zonelist name instead of using hardcoded index Use the existing enums instead of hardcoded index when looking at the zonelist. This makes it more readable. No functionality change by this patch. Link: http://lkml.kernel.org/r/1472227078-24852-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com Signed-off-by: Aneesh Kumar K.V <[email protected]> Reviewed-by: Anshuman Khandual <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>