summaryrefslogtreecommitdiffstats
path: root/kernel/futex
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-10-15 12:05:59 +0200
committerPeter Zijlstra <peterz@infradead.org>2021-10-19 17:27:05 +0200
commit4d38167330910ddb15b1add5b5cef835677a29fd (patch)
treea48ae93bb85ca6bff124b53058824a9d3b0a306a /kernel/futex
parentdd0aa2cd2e9e3e49b8c3b43924dc1a1d4e22b4d1 (diff)
downloadlinux-4d38167330910ddb15b1add5b5cef835677a29fd.tar.bz2
futex: Fix PREEMPT_RT build
Mike reported that rcuwait went walk-about and is causing failures on the PREEMPT_RT builds, restore it. Reported-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'kernel/futex')
-rw-r--r--kernel/futex/futex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/futex/futex.h b/kernel/futex/futex.h
index 948fcf317681..040ae4277cb0 100644
--- a/kernel/futex/futex.h
+++ b/kernel/futex/futex.h
@@ -5,6 +5,10 @@
#include <linux/futex.h>
#include <linux/sched/wake_q.h>
+#ifdef CONFIG_PREEMPT_RT
+#include <linux/rcuwait.h>
+#endif
+
#include <asm/futex.h>
/*