diff options
author | clefru <[email protected]> | 2017-01-19 23:41:38 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-01-19 14:41:38 -0800 |
commit | 2d4d81c485bd5ed3ccaf1580c4efdc0ecdbc52ee (patch) | |
tree | a45a373fb269403a1e4385db264540c63ff97f8b /rpm | |
parent | 5cb44271b4c0b01afe5b84366e247f6d087df399 (diff) |
Reimplement rt_mutex_owner to fix build with DEBUG & PREEMPT_RT_FULL
rt_mutex_owner is internal to kernel/locking/rtmutex_common.h and
inaccessible for SPL via the public kernel headers. The way of
accessing the owner has been stable since at least 3.13 ([1], [2]),
which is masking the lowest bit in the owner pointer in rt_mutex. We
do the same.
[1] http://lxr.free-electrons.com/source/kernel/locking/rtmutex_common.h?v=3.13#L99
[2] http://lxr.free-electrons.com/source/kernel/locking/rtmutex_common.h?v=4.9#L78
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Clemens Fruhwirth <[email protected]>
Closes #593
Diffstat (limited to 'rpm')
0 files changed, 0 insertions, 0 deletions