summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2021-09-28 17:00:05 +0200
committerPeter Zijlstra <peterz@infradead.org>2021-10-01 13:57:52 +0200
commit8fe46535e10dbfebad68ad9f2f8260e49f5852c9 (patch)
tree61f75ddf6d378281b629f1390583cc67a54fba7d /include/video
parentef1f4804b27a54da34de6984d16f1fe8f2cc7011 (diff)
rtmutex: Check explicit for TASK_RTLOCK_WAIT.
rt_mutex_wake_q_add() needs to need to distiguish between sleeping locks (TASK_RTLOCK_WAIT) and normal locks which use TASK_NORMAL to use the proper wake mechanism. Instead of checking for != TASK_NORMAL make it more robust and check explicit for TASK_RTLOCK_WAIT which is the reason why a different wake mechanism is used. No functional change. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20210928150006.597310-2-bigeasy@linutronix.de
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions