diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-10-15 12:05:59 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-19 17:27:05 +0200 |
commit | 4d38167330910ddb15b1add5b5cef835677a29fd (patch) | |
tree | a48ae93bb85ca6bff124b53058824a9d3b0a306a /kernel/futex | |
parent | dd0aa2cd2e9e3e49b8c3b43924dc1a1d4e22b4d1 (diff) |
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.h | 4 |
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> /* |