projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6abad1
)
mm: use heap macro in init_node_heap
author
Wei Liu
<wei.liu2@citrix.com>
Wed, 29 Mar 2017 11:15:59 +0000
(12:15 +0100)
committer
Wei Liu
<wei.liu2@citrix.com>
Thu, 30 Mar 2017 14:42:12 +0000
(15:42 +0100)
... 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>
xen/common/page_alloc.c
patch
|
blob
|
history
diff --git
a/xen/common/page_alloc.c
b/xen/common/page_alloc.c
index 42c20cb201cae42b5fdccad6975b1348b76cf89f..68dba19375b48025094ec0c68f4080d8e7510e7b 100644
(file)
--- 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;
}