|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-changelog
[Xen-changelog] [xen-unstable] xen/x86: only support >128 CPUs on	x86_64
 
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1314895603 -3600
# Node ID a6a5bda3c962f1e9a14fcbb770c7e3b7cd62bee4
# Parent  85b29185c9119ff9139596251d7bd13586853994
xen/x86: only support >128 CPUs on x86_64
32 bit cannot cope with 256 cpus and hits:
    /* At least half the ioremap space should be available to us. */
    BUILD_BUG_ON(IOREMAP_VIRT_START + (IOREMAP_MBYTES << 19) >=
    FIXADDR_START);
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
diff -r 85b29185c911 -r a6a5bda3c962 xen/include/asm-x86/config.h
--- a/xen/include/asm-x86/config.h      Thu Sep 01 09:39:25 2011 +0100
+++ b/xen/include/asm-x86/config.h      Thu Sep 01 17:46:43 2011 +0100
@@ -49,6 +49,8 @@
 
 #ifdef MAX_PHYS_CPUS
 #define NR_CPUS MAX_PHYS_CPUS
+#elif defined __i386__
+#define NR_CPUS 128
 #else
 #define NR_CPUS 256
 #endif
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-changelog] [xen-unstable] xen/x86: only support >128 CPUs on	x86_64,
Xen patchbot-unstable <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |