Re: [patch 4/6] rwsem: Move duplicate init macros and functions tolinux/rwsem.h
From: David Miller
Date: Wed Jan 26 2011 - 23:44:31 EST
From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxx>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/