summaryrefslogtreecommitdiff
path: root/include/linux/ww_mutex.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-08-16 00:28:50 +0300
committerIngo Molnar <mingo@kernel.org>2021-08-17 20:05:00 +0300
commitbdb189148ded4ffa826a1387074c795fda43b3ba (patch)
treed4a3eb8efb925406f70c195af9d84f04452fbc20 /include/linux/ww_mutex.h
parent9934ccc75cec2bafac552c2130835630530c4f7e (diff)
downloadlinux-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