lkml.org 
[lkml]   [2011]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [patch 4/6] rwsem: Move duplicate init macros and functions to linux/rwsem.h
From
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>


\
 
 \ /
  Last update: 2011-01-27 05:47    [W:0.132 / U:0.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site