diff options
| author | Tony Luck <tony.luck@intel.com> | 2004-09-29 18:27:52 +0000 |
|---|---|---|
| committer | Tony Luck <tony.luck@intel.com> | 2004-09-29 18:27:52 +0000 |
| commit | 76642c02bd6775cf8ff12937867e0b96740d1a4f (patch) | |
| tree | 39d83bb51fa6fb9fda084102e09849969f3f148b | |
| parent | 259132f0953f0f2ae6c497c93afaca6829224996 (diff) | |
[IA64] SMP systems may not have SRAT, still need to mark node0 online.
This only causes a problem in the -mm tree now, but Zou Nan hai and
Shaohua Li sent me this fix so that SMP systems compiled with the
generic kernel (which turns on NUMA and CPUSETS in -mm) won't hit
a BUG_ON in kernel/cpuset.c guarantee_online_mems() which is called
from acpi_early_init()
Signed-off-by: Tony Luck <tony.luck@intel.com>
| -rw-r--r-- | arch/ia64/kernel/acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 7cf8b4fc1911..379210967a10 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c @@ -437,8 +437,9 @@ acpi_numa_arch_fixup (void) { int i, j, node_from, node_to; - /* If there's no SRAT, fix the phys_id */ + /* If there's no SRAT, fix the phys_id and mark node 0 online */ if (srat_num_cpus == 0) { + node_set_online(0); node_cpuid[0].phys_id = hard_smp_processor_id(); return; } |
