ARM: smp_on_up: allow non-ARM SMP processors
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 30 Jan 2011 16:40:20 +0000 (16:40 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 31 Jan 2011 21:48:53 +0000 (21:48 +0000)
commite98ff0f55a0232b578c9aa7f1c245868277ac7bc
treeae50cda9c6d20c260924979a64567399919a463d
parentc1928022ef94662a88329e35fa0968b1be328b8e
ARM: smp_on_up: allow non-ARM SMP processors

Allow non-ARM SMP processors to use the SMP_ON_UP feature.  CPUs
supporting SMP must have the new CPU ID format, so check for this first.
Then check for ARM11MPCore, which fails the MPIDR check.  Lastly check
the MPIDR reports multiprocessing extensions and that the CPU is part of
a multiprocessing system.

Cc: <stable@kernel.org>
Reported-and-Tested-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S