Skip to contentSkip to conversation

futex: add missing rtmutex.h include

PATCH In review Christian König 2 participants 2 messages Apr 7, 2022 Futex

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 futex: add missing rtmutex.h include

Since this isn't included here any more since the removal of ww_mutex.h from seqlock.h which causes a build break.

Fixes 63e8768b2ad9 ("seqlock: drop seqcount_ww_mutex_t")
---
 kernel/futex/futex.h | 1 +
 1 file changed, 1 insertion(+)
kernel/futex/futex.h +1 -0
index c264cbeab71c..b5379c0e6d6d 100644
@@ -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
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw

Regards
Shashank
-----Original Message-----
From: dri-devel <[email protected]> On Behalf Of Christian König
Sent: Thursday, April 7, 2022 1:46 PM
To: [email protected]; [email protected]; [email protected]
Cc: Koenig, Christian <[email protected]>
Subject: [PATCH] futex: add missing rtmutex.h include

Since this isn't included here any more since the removal of ww_mutex.h from seqlock.h which causes a build break.

Fixes 63e8768b2ad9 ("seqlock: drop seqcount_ww_mutex_t")
---
 kernel/futex/futex.h | 1 +
 1 file changed, 1 insertion(+)
kernel/futex/futex.h +1 -0
@@ -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

--
2.25.1