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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:14:44 +0000 (15:14 -0800)
commitb770e599b231a81cf53e00beee29261cfc8be46c
treed5b72d90fdc0aa1f781ae2cf839e7bc26a348ab9
parent3eb02dfd31bf0d6ada5c78a4136b215144871011
ARM: smp_on_up: allow non-ARM SMP processors

commit e98ff0f55a0232b578c9aa7f1c245868277ac7bc upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/kernel/head.S