]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: actions: remove boot_lock and pen_release
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 13 Dec 2018 12:54:26 +0000 (12:54 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 1 Feb 2019 21:59:15 +0000 (21:59 +0000)
commit8cfd68146b0e69ae8b9443e68a81638f143e778a
tree186115df868f791a60007aa405363ce1827e90c5
parente70ccaf74903c21ceb16dbe42f267ba7120579c3
ARM: actions: remove boot_lock and pen_release

The actions SMP implementation has several issues:

1. pen_release is only ever read and compared to -1, and is defined in
   arch/arm/kernel/smp.c to be -1.  This test will always succeed.

2. we are already guaranteed to be single threaded while bringing up a
   CPU, so the spinlock makes no sense, remove it.

3. owl_secondary_startup() is not referenced nor defined, the prototype
   is redundant, remove it.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-actions/platsmp.c