rcuwait: Add @state argument to rcuwait_wait_event()

Extend rcuwait_wait_event() with a state variable so that it is not
restricted to UNINTERRUPTIBLE waits.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200321113241.824030968@linutronix.de
This commit is contained in:
Peter Zijlstra (Intel) 2020-03-21 12:25:55 +01:00 • committed by Peter Zijlstra
commit 80fbaf1c3f
2 changed files with 11 additions and 3 deletions