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)
commit70678554c4c40f2cf8de5e7cd53fdd2c73387e51
tree186115df868f791a60007aa405363ce1827e90c5
parent0eb037998afe5514c8534276c152da31d2fabf07
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