Ingo Molnar 5dd43ce2f6 sched/wait: Split out the wait_bit*() APIs from <linux/wait.h> into <linux/wait_bit.h>
The wait_bit*() types and APIs are mixed into wait.h, but they
are a pretty orthogonal extension of wait-queues.

Furthermore, only about 50 kernel files use these APIs, while
over 1000 use the regular wait-queue functionality.

So clean up the main wait.h by moving the wait-bit functionality
out of it, into a separate .h and .c file:

  include/linux/wait_bit.h  for types and APIs
  kernel/sched/wait_bit.c   for the implementation

Update all header dependencies.

This reduces the size of wait.h rather significantly, by about 30%.

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>
2017-06-20 12:19:09 +02:00
..
2017-05-08 09:27:59 -04:00
2017-04-27 18:00:16 -04:00
2017-05-10 13:03:38 -07:00
2017-05-05 13:01:33 -04:00
2017-05-10 13:03:38 -07:00
2017-04-26 13:03:04 -04:00
2017-04-20 15:51:23 -04:00
2017-04-20 15:51:23 -04:00
2016-03-31 00:30:15 -04:00
2017-04-20 13:39:35 -04:00
2016-05-17 15:47:55 -04:00
2017-05-24 07:52:48 -04:00
2016-07-30 16:33:25 -07:00
2017-04-21 10:45:01 -04:00
2017-04-20 14:00:41 -04:00
2016-07-20 23:30:06 -04:00
2017-05-10 13:03:38 -07:00