projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b036a
)
xen/x86: only support >128 CPUs on x86_64
author
Ian Campbell
<ian.campbell@citrix.com>
Thu, 1 Sep 2011 16:46:43 +0000
(17:46 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Thu, 1 Sep 2011 16:46:43 +0000
(17:46 +0100)
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@citrix.com>
xen/include/asm-x86/config.h
patch
|
blob
|
history
diff --git
a/xen/include/asm-x86/config.h
b/xen/include/asm-x86/config.h
index 96b0c4c720392885ee2527ebe3997b78da424248..40a7b8c2c95e8ed8ec0c26e81cf77a89b3f15424 100644
(file)
--- 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