arm64: rwsem: use asm-generic rwsem implementation
authorWill Deacon <will.deacon@arm.com>
Fri, 14 Mar 2014 17:47:05 +0000 (17:47 +0000)
committerChanho Park <chanho61.park@samsung.com>
Wed, 16 Apr 2014 12:36:50 +0000 (21:36 +0900)
commitfe0417b98e4ce3787c77e99dea1f2d2a3a28844c
treea840febac006d2b21abd5c93c303a44121d7e233
parent3a4836689482aa1ab58727470edb486fa18e61c4
arm64: rwsem: use asm-generic rwsem implementation

asm-generic offers an atomic-add based rwsem implementation, which
can avoid the need for heavier, spinlock-based synchronisation on the
fast path.

This patch makes use of the optimised implementation for arm64 CPUs.

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