]> xenbits.xensource.com Git - xen.git/commitdiff
xen: gate split heap code on its own config option rather than !X86
authorIan Campbell <ian.campbell@citrix.com>
Thu, 8 Aug 2013 12:15:16 +0000 (13:15 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 20 Aug 2013 14:44:36 +0000 (15:44 +0100)
I'm going to want to disable this for 64 bit ARM.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/page_alloc.c
xen/include/asm-arm/config.h

index 25a7d3daaf1ed20636729cf3e39ecb16adff2928..41251b2c0cd60fb58acd9bf1bc3601ad3fd59fc8 100644 (file)
@@ -1305,7 +1305,7 @@ void __init scrub_heap_pages(void)
  * XEN-HEAP SUB-ALLOCATOR
  */
 
-#if !defined(CONFIG_X86)
+#if defined(CONFIG_SEPARATE_XENHEAP)
 
 void init_xenheap_pages(paddr_t ps, paddr_t pe)
 {
index 7e5daa00bddc20e5fde044a4441192073219a73f..fb9e93cc4d9add6fd0404c5d73e0b388a73df2f3 100644 (file)
@@ -36,6 +36,7 @@
 #define CONFIG_SMP 1
 
 #define CONFIG_DOMAIN_PAGE 1
+#define CONFIG_SEPARATE_XENHEAP 1
 
 #define CONFIG_VIDEO 1