cvs commit: src/sys/kern kern_mutex.c sched_4bsd.c src/sys/sparc64/sparc64 pmap.c src/sys/sys mutex.h

Jeff Roberson jeff at
Wed Jul 18 20:46:06 UTC 2007

jeff        2007-07-18 20:46:06 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_mutex.c sched_4bsd.c 
    sys/sparc64/sparc64  pmap.c 
    sys/sys              mutex.h 
   - Remove the global definition of sched_lock in mutex.h to break
     new code and third party modules which try to depend on it.
   - Initialize sched_lock in sched_4bsd.c.
   - Declare sched_lock in sparc64 pmap.c and assert that we're compiling
     with SCHED_4BSD to prevent accidental crashes from running ULE.  This
     is the sole remaining file outside of the scheduler that uses the
     global sched_lock.
  Approved by:    re
  Revision  Changes    Path
  1.198     +0 -2      src/sys/kern/kern_mutex.c
  1.103     +2 -0      src/sys/kern/sched_4bsd.c
  1.165     +7 -0      src/sys/sparc64/sparc64/pmap.c
  1.98      +0 -1      src/sys/sys/mutex.h

More information about the cvs-src mailing list