Messages in this thread | | | Date | Mon, 21 Feb 2011 21:21:20 +0200 | From | Alexey Dobriyan <> | Subject | Re: [PATCH v2 1/1] headers: fix circular dependency between linux/sched.h and linux/wait.h |
| |
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 isolating the TASK_state bits isn't going to be enough, wait.h also > wants wake_up goo and schedule*(), therefore either include sched.h from > whatever .c file you're using wait.h bits or do the above cleanup.
Speaking of junk in sched.h, I'll send mm_types.h removal next merge window and maybe cred.h.
| |