ia64/xen-unstable

changeset 16796:7643472d6b43

[IA64] Make maximum number of supported physical CPUs a compile-time option

Make maximum number of supported physical CPUs a compile-time
option via the 'max_phys_cpus=<nr>' compilation parameter.

Based on xen-unstable.hg cset 9464:d7cbcf5d7cd6

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
author Alex Williamson <alex.williamson@hp.com>
date Thu Jan 17 12:17:14 2008 -0700 (2008-01-17)
parents 44aca51a4b7b
children a868bd4236e6
files xen/include/asm-ia64/config.h
line diff
     1.1 --- a/xen/include/asm-ia64/config.h	Thu Jan 17 12:12:08 2008 -0700
     1.2 +++ b/xen/include/asm-ia64/config.h	Thu Jan 17 12:17:14 2008 -0700
     1.3 @@ -25,7 +25,11 @@
     1.4  #ifdef CONFIG_XEN_SMP
     1.5  #define CONFIG_SMP 1
     1.6  #define CONFIG_HOTPLUG_CPU 1
     1.7 +#ifdef MAX_PHYS_CPUS
     1.8 +#define NR_CPUS MAX_PHYS_CPUS
     1.9 +#else
    1.10  #define NR_CPUS 64
    1.11 +#endif
    1.12  #define CONFIG_NUMA
    1.13  #define CONFIG_ACPI_NUMA
    1.14  #define NODES_SHIFT 8