aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorYaowei Bai <[email protected]>2016-01-14 15:19:00 -0800
committerLinus Torvalds <[email protected]>2016-01-14 16:00:49 -0800
commitc00eb15a8914b8ba84032a36044a5aaf7f71709d (patch)
treedf9fd900dac20444f5e5b6780dba9b95a1bc7515 /scripts/gdb/linux/lists.py
parent06640290bfc6688062387f915c5df094e9872133 (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]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions