Skip to content

Commit 4d38167

Browse files
author
Peter Zijlstra
committed
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 <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
1 parent dd0aa2c commit 4d38167

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kernel/futex/futex.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
#include <linux/futex.h>
66
#include <linux/sched/wake_q.h>
77

8+
#ifdef CONFIG_PREEMPT_RT
9+
#include <linux/rcuwait.h>
10+
#endif
11+
812
#include <asm/futex.h>
913

1014
/*

0 commit comments

Comments
 (0)