diff mbox series

futex: add missing rtmutex.h include

Message ID 20220407114619.961750-1-christian.koenig@amd.com (mailing list archive)
State New, archived
Headers show
Series futex: add missing rtmutex.h include | expand

Commit Message

Christian König April 7, 2022, 11:46 a.m. UTC
Since 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>
Fixes: 63e8768b2ad9 ("seqlock: drop seqcount_ww_mutex_t")
---
 kernel/futex/futex.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Sharma, Shashank April 7, 2022, 1:06 p.m. UTC | #1
Acked-by: Shashank Sharma <shashank.sharma@amd.com>

Regards
Shashank
-----Original Message-----
From: dri-devel <dri-devel-bounces@lists.freedesktop.org> On Behalf Of Christian König
Sent: Thursday, April 7, 2022 1:46 PM
To: peterz@infradead.org; daniel.vetter@ffwll.ch; dri-devel@lists.freedesktop.org
Cc: Koenig, Christian <Christian.Koenig@amd.com>
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.

Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: 63e8768b2ad9 ("seqlock: drop seqcount_ww_mutex_t")
---
 kernel/futex/futex.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/futex/futex.h b/kernel/futex/futex.h index c264cbeab71c..b5379c0e6d6d 100644
--- a/kernel/futex/futex.h
+++ b/kernel/futex/futex.h
@@ -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
diff mbox series

Patch

diff --git a/kernel/futex/futex.h b/kernel/futex/futex.h
index c264cbeab71c..b5379c0e6d6d 100644
--- a/kernel/futex/futex.h
+++ b/kernel/futex/futex.h
@@ -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