From: Peter Zijlstra Date: Fri, 15 Oct 2021 10:05:59 +0000 (+0200) Subject: futex: Fix PREEMPT_RT build X-Git-Tag: iomap-folio-5.17-old~275^2~5 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4d38167330910ddb15b1add5b5cef835677a29fd;p=users%2Fwilly%2Flinux.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 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 /*