Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 7 Mar 2002 09:21:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 7 Mar 2002 09:21:15 -0500 Received: from granger.mail.mindspring.net ([207.69.200.148]:25878 "EHLO granger.mail.mindspring.net") by vger.kernel.org with ESMTP id ; Thu, 7 Mar 2002 09:20:58 -0500 From: "Steven A. DuChene" Date: Thu, 7 Mar 2002 09:20:12 -0500 To: "Richard B. Johnson" Cc: linux-kernel@vger.kernel.org Subject: Re: SCHED_YIELD undeclared with Trond's NFS patch w/2.4.19-pre2-ac2 Message-ID: <20020307092012.D16224@lapsony.mydomain.here> In-Reply-To: <20020307084514.C16224@lapsony.mydomain.here> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.5i In-Reply-To: ; from root@chaos.analogic.com on Thu, Mar 07, 2002 at 09:00:59AM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 07, 2002 at 09:00:59AM -0500, Richard B. Johnson wrote: > You need to change loops that do something like: > > while(something) > { > current->policy |= SCHED_YIELD; > schedule(); > } > > to: > > while(something) > sys_sched_yield(); > Thanks Richard! that did the trick -- Steven A. DuChene linux-clusters@mindspring.com sduchene@mindspring.com http://www.mindspring.com/~sduchene/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/