From: Wei Liu Date: Wed, 29 Mar 2017 11:15:59 +0000 (+0100) Subject: mm: use heap macro in init_node_heap X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=59b2ed15ed3c5949186d97c21c9c021a0f22a7ef;p=people%2Froyger%2Fxen.git 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 Acked-by: Jan Beulich Released-acked-by: Julien Grall --- diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index 42c20cb201..68dba19375 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -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; }