diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-08-16 00:28:50 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-08-17 20:05:00 +0300 |
commit | bdb189148ded4ffa826a1387074c795fda43b3ba (patch) | |
tree | d4a3eb8efb925406f70c195af9d84f04452fbc20 /include/linux/ww_mutex.h | |
parent | 9934ccc75cec2bafac552c2130835630530c4f7e (diff) | |
download | linux-bdb189148ded4ffa826a1387074c795fda43b3ba.tar.xz |
locking/ww_mutex: Abstract out mutex types
Some ww_mutex helper functions use pointers for the underlying mutex and
mutex_waiter. The upcoming rtmutex based implementation needs to share
these functions. Add and use defines for the types and replace the direct
types in the affected functions.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210815211304.678720245@linutronix.de
Diffstat (limited to 'include/linux/ww_mutex.h')
0 files changed, 0 insertions, 0 deletions