Allow spin locks to be defined from assembly
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>
Thu, 19 Jan 2017 14:23:36 +0000 (14:23 +0000)
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>
Mon, 30 Jan 2017 14:53:17 +0000 (14:53 +0000)
commitb38bc68b9edf385f2576a6cbf304187721f562c1
tree6dbf8b264b50310372e289e99ee98c923d1c42de
parentd7aa7b44d6c73f84a8913b010e850e0322063d91
Allow spin locks to be defined from assembly

At present, spin locks can only defined from C files. Add some macros
such that they can be defined from assembly files too.

Change-Id: I64f0c214062f5c15b3c8b412c7f25c908e87d970
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
include/common/aarch32/asm_macros.S
include/common/aarch64/asm_macros.S
include/lib/spinlock.h