]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: vexpress/dcscb: add CPU use counts to the power up/down API implementation
authorNicolas Pitre <nicolas.pitre@linaro.org>
Tue, 17 Jul 2012 02:07:10 +0000 (22:07 -0400)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 29 May 2013 19:50:35 +0000 (15:50 -0400)
commit13eae144ec754ab64521891d2cffc3156f6f083f
tree384c5edf609e0ffb3ebf0cbadf2ec19d1007b037
parent1e904e1bf6f1285cc2dd5696c44b7cf78cda643f
ARM: vexpress/dcscb: add CPU use counts to the power up/down API implementation

It is possible for a CPU to be told to power up before it managed
to power itself down.  Solve this race with a usage count to deal
with this possibility as mandated by the MCPM API definition.

Signed-off-by: nicolas Pitre <nico@linaro.org>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
arch/arm/mach-vexpress/dcscb.c