Yinghai Lu 2b633e3fac smp: Use nr_cpus= to set nr_cpu_ids early
On x86, before prefill_possible_map(), nr_cpu_ids will be NR_CPUS aka
CONFIG_NR_CPUS.

Add nr_cpus= to set nr_cpu_ids. so we can simulate cpus <=8 are installed on
normal config.

-v2: accordging to Christoph, acpi_numa_init should use nr_cpu_ids in stead of
     NR_CPUS.
-v3: add doc in kernel-parameters.txt according to Andrew.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1265793639-15071-34-git-send-email-yinghai@kernel.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Tony Luck <tony.luck@intel.com>
2010-02-17 17:30:22 -08:00
..
2009-12-15 22:27:39 -05:00
2009-10-06 13:55:56 -04:00
2009-12-16 00:07:21 -05:00
2009-12-16 03:33:28 -05:00
2010-01-15 22:53:04 -05:00
2009-12-22 03:24:08 -05:00
2009-12-22 03:24:08 -05:00
2009-06-17 23:32:23 -04:00
2010-01-16 15:56:43 -05:00
2010-01-16 15:56:43 -05:00
2010-01-16 15:56:43 -05:00