commit | db99100d2ed40dd9736fcb1adb3657a98f9bcfd9 | [log] [tgz] |
---|---|---|
author | Andrew Morton <akpm@linux-foundation.org> | Wed Oct 15 22:01:07 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 16 11:21:29 2008 -0700 |
tree | c098cda0a6172ea9e00fe25d151b87cd1609176c | |
parent | 9363b9f23c9cc36cc8ef6c05fdf879ee4a96ae92 [diff] |
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>