diff options
author | 2020-12-08 10:27:41 +0100 | |
---|---|---|
committer | 2020-12-09 17:08:47 +0100 | |
commit | c995e638ccbbc65a76d1713c4fdcf927e7e2cb83 (patch) | |
tree | 2d41ea28653f30a90d99aafbadf49c41df02bbce /drivers/usb/cdns3/cdns3-imx.c | |
parent | locking/rwsem: Introduce rwsem_write_trylock() (diff) | |
download | linux-dev-c995e638ccbbc65a76d1713c4fdcf927e7e2cb83.tar.xz linux-dev-c995e638ccbbc65a76d1713c4fdcf927e7e2cb83.zip |
locking/rwsem: Fold __down_{read,write}*()
There's a lot needless duplication in __down_{read,write}*(), cure
that with a helper.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201207090243.GE3040@hirez.programming.kicks-ass.net
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions