cvs commit: src/sys/sparc64/sparc64 machdep.c

John Baldwin jhb at FreeBSD.org
Thu Apr 14 11:30:47 PDT 2005


jhb         2005-04-14 18:30:10 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/sparc64  machdep.c 
  Log:
  Close a race I introduced in the spinlock_* changes.  We need to finish
  disabling interrupts before updating the saved pil in the thread.  If we
  save the value first then it can be clobbered if an interrupt comes in
  and the interrupt handler tries to acquire a spin lock.
  
  Submitted by:   marius
  
  Revision  Changes    Path
  1.124     +3 -1      src/sys/sparc64/sparc64/machdep.c


More information about the cvs-src mailing list