Re: [patch 4/6] rwsem: Move duplicate init macros and functions to linux/rwsem.h

David Miller
2011-01-27T04:44:29Z

From: Thomas Gleixner <tglx@linutronix.de>
Date: Wed, 26 Jan 2011 20:06:00 -0000

> The rwsem initializers and related macros and functions are mostly the
> same. Some of them lack the lockdep initializer, but having it in
> place does not matter for architectures which do not support lockdep.
>
> powerpc, sparc, x86: No functional change
>
> sh, s390: Removes the duplicate init_rwsem (inline and #define)
>
> alpha, ia64, xtensa: Use the lockdep capable init function in
> lib/rwsem.c which is just uninlining the init
> function for the LOCKDEP=n case
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Acked-by: David S. Miller <davem@davemloft.net>