diff options
author | Michel Lespinasse <walken@google.com> | 2013-05-07 15:45:51 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-07 16:20:16 +0200 |
commit | 1e78277ccbbb48af32a618d1ef0e8534e0b648d7 (patch) | |
tree | 033542c27093b7a24131bee12e84e8ca18cb19dc /lib/test-kstrtox.c | |
parent | rwsem: shorter spinlocked section in rwsem_down_failed_common() (diff) | |
download | linux-1e78277ccbbb48af32a618d1ef0e8534e0b648d7.tar.xz linux-1e78277ccbbb48af32a618d1ef0e8534e0b648d7.zip |
rwsem: move rwsem_down_failed_common code into rwsem_down_{read,write}_failed
Remove the rwsem_down_failed_common function and replace it with two
identical copies of its code in rwsem_down_{read,write}_failed.
This is because we want to make different optimizations in
rwsem_down_{read,write}_failed; we are adding this pure-duplication
step as a separate commit in order to make it easier to check the
following steps.
Signed-off-by: Michel Lespinasse <walken@google.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test-kstrtox.c')
0 files changed, 0 insertions, 0 deletions