diff options
author | Michel Lespinasse <walken@google.com> | 2010-08-09 17:21:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-09 20:45:11 -0700 |
commit | a8618a0e8a06f75c6efec2a5477861d704d48b28 (patch) | |
tree | 02679a316c5dea69e337ff65219d7c116f5a59aa /net/netrom/sysctl_net_netrom.c | |
parent | 424acaaeb3a3932d64a9b4bd59df6cf72c22d8f3 (diff) | |
download | lwn-a8618a0e8a06f75c6efec2a5477861d704d48b28.tar.gz lwn-a8618a0e8a06f75c6efec2a5477861d704d48b28.zip |
rwsem: smaller wrappers around rwsem_down_failed_common
More code can be pushed from rwsem_down_read_failed and
rwsem_down_write_failed into rwsem_down_failed_common.
Following change adding down_read_critical infrastructure support also
enjoys having flags available in a register rather than having to fish it
out in the struct rwsem_waiter...
Signed-off-by: Michel Lespinasse <walken@google.com>
Acked-by: David Howells <dhowells@redhat.com>
Cc: Mike Waychison <mikew@google.com>
Cc: Suleiman Souhlal <suleiman@google.com>
Cc: Ying Han <yinghan@google.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/netrom/sysctl_net_netrom.c')
0 files changed, 0 insertions, 0 deletions