diff options
author | Thomas Gleixner <[email protected]> | 2011-01-26 20:06:00 +0000 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2011-01-27 12:30:39 +0100 |
commit | 12249b34414dba7f386aadcf6be7ca36c6878300 (patch) | |
tree | b096b2fd1c9064b1be78f8781ef3ec8938b3abf5 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1c8ed640d918290ddc1de5ada02ef6686a733c9f (diff) |
rwsem: Move duplicate init macros and functions to linux/rwsem.h
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: David Howells <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Matt Turner <[email protected]>
Acked-by: Tony Luck <[email protected]>
Acked-by: Heiko Carstens <[email protected]>
Cc: Paul Mundt <[email protected]>
Acked-by: David Miller <[email protected]>
Cc: Chris Zankel <[email protected]>
LKML-Reference: <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions