cognet      2007-11-27 22:12:06 UTC

  FreeBSD src repository

  Modified files:
    sys/arm/include      atomic.h 
  Log:
  In atomic_fetchadd_32(), do not blindly increase the value of %3.
  It should just contain the value we want to add, as if we're interrupted
  between the add and the str, we will restart from the beginning. Just use
  a register we can scratch instead.
  
  MFC After:      1 week
  
  Revision  Changes    Path
  1.22      +3 -2      src/sys/arm/include/atomic.h
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to