lkml.org 
[lkml]   [2002]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[BUG] compile error in 2.4.19-pre5-ac1
  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 <davidsen@tmr.com>
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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.063 / U:1.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site