summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>2016-01-15 00:19:00 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2016-01-15 01:00:49 +0100
commitc00eb15a8914b8ba84032a36044a5aaf7f71709d (patch)
treedf9fd900dac20444f5e5b6780dba9b95a1bc7515 /security
parentinclude/linux/mmzone.h: remove unused is_unevictable_lru() (diff)
downloadlinux-c00eb15a8914b8ba84032a36044a5aaf7f71709d.tar.xz
linux-c00eb15a8914b8ba84032a36044a5aaf7f71709d.zip
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. [akpm@linux-foundation.org: coding-style fixes] [akpm@linux-foundation.org: fix CONFIG_NUMA=n build] [n-horiguchi@ah.jp.nec.com: fix warning in comparing enumerator] Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com> Cc: Michal Hocko <mhocko@kernel.org> Cc: David Rientjes <rientjes@google.com> Signed-off-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions