Re: [tip: locking/core] futex: Split out requeue

From: Mike Galbraith
Date: Wed Oct 13 2021 - 12:57:51 EST


On Sat, 2021-10-09 at 10:07 +0000, tip-bot2 for Peter Zijlstra wrote:
>
> diff --git a/kernel/futex/futex.h b/kernel/futex/futex.h
> index 4969e96..840302a 100644
> --- a/kernel/futex/futex.h
> +++ b/kernel/futex/futex.h
> @@ -3,6 +3,8 @@
>  #define _FUTEX_H
>  
>  #include <linux/futex.h>
> +#include <linux/sched/wake_q.h>

+#ifdef CONFIG_PREEMPT_RT
+#include <linux/rcuwait.h>
+#endif

?

I needed that for tip-rt to build. It also boots, and futextests are
happy (whew, futexes hard).

-Mike