diff options
author | Andrew Morton | 2008-10-16 07:01:07 +0200 |
---|---|---|
committer | Linus Torvalds | 2008-10-16 20:21:29 +0200 |
commit | db99100d2ed40dd9736fcb1adb3657a98f9bcfd9 (patch) | |
tree | c098cda0a6172ea9e00fe25d151b87cd1609176c /mm/hugetlb.c | |
parent | memrlimit: cgroup mm owner callback changes to add task info (diff) | |
download | kernel-qcow2-linux-db99100d2ed40dd9736fcb1adb3657a98f9bcfd9.tar.gz kernel-qcow2-linux-db99100d2ed40dd9736fcb1adb3657a98f9bcfd9.tar.xz kernel-qcow2-linux-db99100d2ed40dd9736fcb1adb3657a98f9bcfd9.zip |
mm/page_alloc.c:free_area_init_nodes() fix inappropriate use of enum
Local variable `i' is a) misleadingly-named for an `enum zone_type' and b)
used for indexing zones as well as nodes as well as node_maps.
Make it an `int'.
Reported-by: Frans Pop <elendil@planet.nl>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions