Menu

#27 csr.c needs #include <linux/sched.h>

bug (general)
open
subsystem (7)
5
2002-03-21
2002-03-07
No

For some reason I didn't bother tracking down, csr.c in
current CVS needs a #include <linux/sched.h> to compile
with CONFIG_PREEMPT enabled on Linux 2.4.19-pre2-ac2.
Otherwise, it complains about a missing declaration for
preempt_schedule(). No biggie.

Discussion

  • Ben Collins

    Ben Collins - 2002-03-21

    Logged In: YES
    user_id=196071

    Does the preempt patch add code to csr.c? If so, shouldn't
    it add the include in the patch? If not, can you point me to
    what in csr.c ends up pulling in preempt_schedule()?

     
  • Ben Collins

    Ben Collins - 2002-03-21
    • assigned_to: nobody --> bencollins
     

Log in to post a comment.