]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1513661181191e2f7b6f0b38840ff5c1d50cb1e
treeae50cda9c6d20c260924979a64567399919a463d
parent67cea704e0c8274515d2bffd4791e2a9146ddcef
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