mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
f6abad1683
commit
59b2ed15ed
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||