From 4d38167330910ddb15b1add5b5cef835677a29fd Mon Sep 17 00:00:00 2001 From: Peter Zijlstra Date: Fri, 15 Oct 2021 12:05:59 +0200 Subject: 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 Signed-off-by: Peter Zijlstra (Intel) --- kernel/futex/futex.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kernel/futex') 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 #include +#ifdef CONFIG_PREEMPT_RT +#include +#endif + #include /* -- cgit v1.2.3