From: Peter Zijlstra Date: Fri, 15 Oct 2021 10:05:59 +0000 (+0200) Subject: futex: Fix PREEMPT_RT build X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4d38167330910ddb15b1add5b5cef835677a29fd;p=linux.git 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) --- diff --git a/kernel/futex/futex.h b/kernel/futex/futex.h index 948fcf3176812..040ae4277cb0c 100644 --- a/kernel/futex/futex.h +++ b/kernel/futex/futex.h @@ -5,6 +5,10 @@ #include #include +#ifdef CONFIG_PREEMPT_RT +#include +#endif + #include /*