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
..
2016-10-13 19:48:11 -05:00
2017-04-07 08:04:41 -05:00
2013-11-08 05:57:46 +09:00
2017-05-03 19:32:35 -05:00
2016-12-15 00:21:37 -06:00
2017-05-03 10:10:10 -05:00
2017-01-14 14:58:29 -06:00
2007-06-05 18:30:44 +00:00
2017-03-02 23:13:37 -06:00
2017-05-03 10:10:10 -05:00
2017-05-12 19:55:56 -05:00
2017-04-07 08:04:40 -05:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00