diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-12-08 10:25:06 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-12-09 17:08:47 +0100 |
commit | 285c61aedf6bc5d81b37e4dc48c19012e8ff9836 (patch) | |
tree | 1ad5d619fbcc91f2281a9fb85d42af0a468fda30 /drivers/hwmon | |
parent | 3379116a0ca965b00e6522c7ea3f16c9dbd8f9f9 (diff) |
locking/rwsem: Introduce rwsem_write_trylock()
One copy of this logic is better than three.
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/hwmon')
0 files changed, 0 insertions, 0 deletions