mm: use heap macro in init_node_heap

... so that it is consistent with the rest of the file.

No functional change.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Released-acked-by: Julien Grall <julien.grall@arm.com>
This commit is contained in:
Wei Liu committed 2017-03-30 15:42:12 +01:00
1 parent f6abad1683
commit 59b2ed15ed
1 file changed
+1 -1
+1 -1
View File
@@ -574,7 +574,7 @@ static unsigned long init_node_heap(int node, unsigned long mfn,
for ( i = 0; i < NR_ZONES; i++ )
for ( j = 0; j <= MAX_ORDER; j++ )
INIT_PAGE_LIST_HEAD(&(*_heap[node])[i][j]);
INIT_PAGE_LIST_HEAD(&heap(node, i, j));
return needed;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.