sched/wait: Move bit_wait_table[] and related functionality from sched/core.c to...
authorIngo Molnar <mingo@kernel.org>
Sun, 5 Mar 2017 12:09:07 +0000 (13:09 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Jun 2017 10:19:14 +0000 (12:19 +0200)
commit5822a454d6d22297c5fcd66264120587b2ec21cd
tree0c05d2c4c95dc1d6c234b5d5f030dc35147a6676
parent5dd43ce2f69d42a71dcacdb13d17d8c0ac1fe8f7
sched/wait: Move bit_wait_table[] and related functionality from sched/core.c to sched/wait_bit.c

The key hashed waitqueue data structures and their initialization
was done in the main scheduler file for no good reason, move them
to sched/wait_bit.c instead.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/wait_bit.h
kernel/sched/core.c
kernel/sched/wait_bit.c