asm-generic: rwsem: de-PPCify rwsem.h
authorWill Deacon <will.deacon@arm.com>
Fri, 14 Mar 2014 17:47:04 +0000 (17:47 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 21 May 2014 17:58:41 +0000 (18:58 +0100)
commit83a6783cbe03e736f3c66e1d1de2a0d360e82821
tree6d5ab95e230327a0a2d41999383fd826a7c59256
parent1e7a212cb995f66800bb01d90806df02529d24fb
asm-generic: rwsem: de-PPCify rwsem.h

asm-generic/rwsem.h used to live under arch/powerpc. During its
liberation to common code, a few references to its former home where
preserved, in particular the definition of RWSEM_ACTIVE_MASK is
predicated on CONFIG_PPC64.

This patch updates the ifdefs and comments to architecturally neutral
versions.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit e172800e5d3162f97d332b3745e3743ce150ec48)
Signed-off-by: Mark Brown <broonie@linaro.org>
include/asm-generic/rwsem.h