arm64: locks: introduce ticket-based spinlock implementation
authorWill Deacon <will.deacon@arm.com>
Wed, 9 Oct 2013 14:54:26 +0000 (15:54 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 24 Oct 2013 14:46:33 +0000 (15:46 +0100)
commit52ea2a560a9dba57fe5fd6b4726b1089751accf2
tree5cd58ed43397b9f52fa3d63a11bc272f3a834967
parente29a074b44a9110c567fc31cdb12928f8eca7c79
arm64: locks: introduce ticket-based spinlock implementation

This patch introduces a ticket lock implementation for arm64, along the
same lines as the implementation for arch/arm/.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/spinlock.h
arch/arm64/include/asm/spinlock_types.h