Re: Undefined TASK_INTERRUPTIBLE (Was: Re: [PATCH 1/3] iwlwifi:move rx handlers code to iwl-rx.c)

From: Peter Zijlstra
Date: Mon Mar 07 2011 - 04:20:24 EST


On Mon, 2011-03-07 at 09:12 +0100, Stanislaw Gruszka wrote:
>
> But perhaps we need a more generic fix in wait.h for the future. Maybe
> we should decouple definitions of TASK_INTERRUPTIBLE and friends from
> sched.h into separate header and include that header in wait.h as
> well?

No! That only makes the mess worse, the only sane option is to fix
things so that wait.h can include sched.h and that is non-trivial.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/