futex: add missing rtmutex.h include
authorChristian König <christian.koenig@amd.com>
Thu, 7 Apr 2022 11:43:15 +0000 (13:43 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 7 Apr 2022 13:09:12 +0000 (15:09 +0200)
This isn't included here any more since the removal of ww_mutex.h from
seqlock.h which causes a build break.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Shashank Sharma <shashank.sharma@amd.com>
Fixes: e84815cbbc76 ("seqlock: drop seqcount_ww_mutex_t")
Link: https://patchwork.freedesktop.org/patch/msgid/20220407114619.961750-1-christian.koenig@amd.com
kernel/futex/futex.h

index c264cbeab71c6c1c5147b95170e6ff4855b7989d..b5379c0e6d6d1a090d2350431a0561eb80cf5ec1 100644 (file)
@@ -3,6 +3,7 @@
 #define _FUTEX_H
 
 #include <linux/futex.h>
+#include <linux/rtmutex.h>
 #include <linux/sched/wake_q.h>
 
 #ifdef CONFIG_PREEMPT_RT