From: Ian Campbell Date: Thu, 1 Sep 2011 16:46:43 +0000 (+0100) Subject: xen/x86: only support >128 CPUs on x86_64 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~9926 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8a36a4acd1643da82cea5cc784eafbff8ac06f62;p=xen.git 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 --- diff --git a/xen/include/asm-x86/config.h b/xen/include/asm-x86/config.h index 96b0c4c720..40a7b8c2c9 100644 --- a/xen/include/asm-x86/config.h +++ b/xen/include/asm-x86/config.h @@ -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