Skip to content
Snippets Groups Projects
Commit c995e638 authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

locking/rwsem: Fold __down_{read,write}*()


There's a lot needless duplication in __down_{read,write}*(), cure
that with a helper.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201207090243.GE3040@hirez.programming.kicks-ass.net
parent 285c61ae
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment