asm-generic: rwsem: de-PPCify rwsem.h
authorWill Deacon <will.deacon@arm.com>
Fri, 14 Mar 2014 17:47:04 +0000 (17:47 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 14 Mar 2014 18:02:08 +0000 (18:02 +0000)
commite172800e5d3162f97d332b3745e3743ce150ec48
tree521ff01d84e306c7af465769c0a8f6feee0b9846
parent3be1a5c4f75989cf457f13f38ff0913dff6d4996
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>
include/asm-generic/rwsem.h