lockref: include mutex.h rather than reinvent arch_mutex_cpu_relax
authorWill Deacon <will.deacon@arm.com>
Wed, 27 Nov 2013 13:52:53 +0000 (13:52 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Nov 2013 04:37:33 +0000 (20:37 -0800)
commit14058d20c155ab3ff473fb60eca4fa7aa21a16ac
treef3dce2c56c81c4299a468c382d2513b5e6170905
parentdad337501d490b26fbf8d83baee99c788461c61c
lockref: include mutex.h rather than reinvent arch_mutex_cpu_relax

arch_mutex_cpu_relax is already conditionally defined in mutex.h, so
simply include that header rather than replicate the code here.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/lockref.c