commit | c00eb15a8914b8ba84032a36044a5aaf7f71709d | [log] [tgz] |
---|---|---|
author | Yaowei Bai <[email protected]> | Thu Jan 14 15:19:00 2016 -0800 |
committer | Linus Torvalds <[email protected]> | Thu Jan 14 16:00:49 2016 -0800 |
tree | df9fd900dac20444f5e5b6780dba9b95a1bc7515 | |
parent | 06640290bfc6688062387f915c5df094e9872133 [diff] |
mm/zonelist: enumerate zonelists array index Hardcoding index to zonelists array in gfp_zonelist() is not a good idea, let's enumerate it to improve readability. No functional change. [[email protected]: coding-style fixes] [[email protected]: fix CONFIG_NUMA=n build] [[email protected]: fix warning in comparing enumerator] Signed-off-by: Yaowei Bai <[email protected]> Cc: Michal Hocko <[email protected]> Cc: David Rientjes <[email protected]> Signed-off-by: Naoya Horiguchi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>