projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb063a0
)
x86_64: No restriction on Xen heap address width.
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 26 Jan 2009 16:21:21 +0000
(16:21 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 26 Jan 2009 16:21:21 +0000
(16:21 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/page_alloc.c
patch
|
blob
|
history
diff --git
a/xen/common/page_alloc.c
b/xen/common/page_alloc.c
index d8c67f513cecf1a0b3b7353b3680bcef0834919d..648fbd6971df1725324ea5f315d83b2e94579396 100644
(file)
--- a/
xen/common/page_alloc.c
+++ b/
xen/common/page_alloc.c
@@
-703,8
+703,7
@@
void *alloc_xenheap_pages(unsigned int order)
ASSERT(!in_irq());
pg = alloc_heap_pages(
- MEMZONE_XEN+1, bits_to_zone(32),
- cpu_to_node(smp_processor_id()), order);
+ MEMZONE_XEN+1, NR_ZONES-1, cpu_to_node(smp_processor_id()), order);
if ( unlikely(pg == NULL) )
goto no_memory;