[ARM] 4201/1: SMP barriers pair needed for the secondary boot process
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 15 Feb 2007 18:05:29 +0000 (19:05 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 16 Feb 2007 13:06:56 +0000 (13:06 +0000)
commit0e0ba76926c37f11f38670db0cb33728f502551e
treeef6c4b005b64fe9c42a2a9cd903442b1e252797d
parent7770bddb27ea84519486d8bb5d35d36d580c451b
[ARM] 4201/1: SMP barriers pair needed for the secondary boot process

In some situations, the pen_release store in platform_secondary_init()
may stay forever in the write buffer while the CPU is waiting on the
boot_lock to be released in boot_secondary(). The primary CPU could
never see the pen_release update without the barriers.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/platsmp.c