Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 4 Apr 2002 18:48:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 4 Apr 2002 18:47:52 -0500 Received: from tmr-02.dsl.thebiz.net ([216.238.38.204]:27652 "EHLO gatekeeper.tmr.com") by vger.kernel.org with ESMTP id ; Thu, 4 Apr 2002 18:47:42 -0500 Date: Thu, 4 Apr 2002 18:45:24 -0500 (EST) From: Bill Davidsen To: Linux-Kernel Mailing List Subject: [BUG] compile error in 2.4.19-pre5-ac1 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org init/do_mounts.c uses SCHED_YIELD, which seems no longer defined although grep tells me it's heavily used in non-Intel code. I noted that yield() is back, defined via an asmlink, so I replaced the SCHED_YIELD and schedule() loop with a call to yield(). I also include linux/sched.h which may not have been needed but avoided trying a compile without. No patch, I'm not sure if defining SCHED_YIELD in sched.h would have been the better fix, or would even work, but this worked, I built my initrd file, and it all booted correctly several times (and is up as I type). Note of warning to new Redhat users, for some reason /usr/include/linux is a directory instead of a symbolic link to /usr/src/linux/include/linux, so changes in includes aren't used. Possibly an artifact of the install on that system, but something to note. -- bill davidsen CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - 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/