mm: enum lru_list lru
Mostly we use "enum lru_list lru": change those few "l"s to "lru"s. Signed-off-by: Hugh Dickins <hughd@google.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
4d06f382c7
commit
4111304dab
@ -4262,7 +4262,7 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat,
|
||||
for (j = 0; j < MAX_NR_ZONES; j++) {
|
||||
struct zone *zone = pgdat->node_zones + j;
|
||||
unsigned long size, realsize, memmap_pages;
|
||||
enum lru_list l;
|
||||
enum lru_list lru;
|
||||
|
||||
size = zone_spanned_pages_in_node(nid, j, zones_size);
|
||||
realsize = size - zone_absent_pages_in_node(nid, j,
|
||||
@ -4312,8 +4312,8 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat,
|
||||
zone->zone_pgdat = pgdat;
|
||||
|
||||
zone_pcp_init(zone);
|
||||
for_each_lru(l)
|
||||
INIT_LIST_HEAD(&zone->lruvec.lists[l]);
|
||||
for_each_lru(lru)
|
||||
INIT_LIST_HEAD(&zone->lruvec.lists[lru]);
|
||||
zone->reclaim_stat.recent_rotated[0] = 0;
|
||||
zone->reclaim_stat.recent_rotated[1] = 0;
|
||||
zone->reclaim_stat.recent_scanned[0] = 0;
|
||||
|
Reference in New Issue
Block a user