diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-21 01:04:18 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-21 01:06:57 +0400 |
commit | a06f916b7a9b57447ceb875eb0a89f1a66b31bca (patch) | |
tree | a8a9d7c5e91a08f253107ffcf066dbeb4f7d9d34 /arch/arm/mach-s3c64xx | |
parent | 5a567d78c437e3be1c512734cdfe64b4ae6b82d7 (diff) | |
download | linux-a06f916b7a9b57447ceb875eb0a89f1a66b31bca.tar.xz |
ARM: smp: fix clipping of number of CPUs
Rather than clipping the number of CPUs using the compile-time NR_CPUS
constant, use the runtime nr_cpu_ids value instead. This allows the
nr_cpus command line option to work as expected.
Cc: <stable@kernel.org>
Reported-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c64xx')
0 files changed, 0 insertions, 0 deletions