On Mon, Feb 21, 2011 at 12:20 PM, David Cohen daco...@gmail.com wrote:
Currently sched.h and wait.h have circular dependency between both.
wait.h defines macros wake_up*() which use macros TASK_* defined by
sched.h. But as sched.h indirectly includes wait.h, such wait.h header
file can't
On Mon, Feb 21, 2011 at 2:30 PM, Felipe Balbi ba...@ti.com wrote:
On Mon, Feb 21, 2011 at 01:05:51PM +0200, Alexey Dobriyan wrote:
Just include linux/sched.h in your driver.
This include splitting in small pieces is troublesome as well.
so, simply to call wake_up*() we need to know
On Mon, Feb 21, 2011 at 06:06:02PM +0100, Peter Zijlstra wrote:
1) remove the inclusion of completion.h -- easy we can live with an
incomplete type.
ACK
2) move the other wait_queue_head_t users (signal_struct sighand_struct)
out of sched.h
3) ...
Compile test! :^)
4) profit!
Just