Return-path: Received: from casper.infradead.org ([85.118.1.10]:54317 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756Ab1CGJUN convert rfc822-to-8bit (ORCPT ); Mon, 7 Mar 2011 04:20:13 -0500 Subject: Re: Undefined TASK_INTERRUPTIBLE (Was: Re: [PATCH 1/3] iwlwifi: move rx handlers code to iwl-rx.c) From: Peter Zijlstra To: Stanislaw Gruszka Cc: Daniel Halperin , Ingo Molnar , "Guy, Wey-Yi" , Intel Linux Wireless , "linux-wireless@vger.kernel.org" , linux-kernel@vger.kernel.org In-Reply-To: <20110307081241.GA2216@redhat.com> References: <1299257511-5241-1-git-send-email-sgruszka@redhat.com> <1299447258.5082.164.camel@wwguy-huron> <20110307081241.GA2216@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 07 Mar 2011 10:20:02 +0100 Message-ID: <1299489602.2308.1.camel@twins> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: 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.