Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2005 12:38:53 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/alpha/include atomic.h src/sys/amd64/include atomic.h src/sys/i386/include atomic.h
Message-ID:  <200507091238.j69CcrsC053644@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-07-09 12:38:53 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/include    atomic.h 
    sys/amd64/include    atomic.h 
    sys/i386/include     atomic.h 
  Log:
  Some cleanups and tweaks to some of the atomic.h files in preparation for
  further changes and fixes in the future:
  - Use aliases via macros rather than duplicated inlines wherever possible.
  - Move all the aliases to the bottom of these files and the inline
    functions to the top.
  - Add various comments.
  - On alpha, drop atomic_{load_acq,store_rel}_{8,char,16,short}().
  - On i386 and amd64, don't duplicate the extern declarations for functions
    in the two non-inline cases (KLD_MODULE and compiler doesn't do inlines),
    instead, consolidate those two cases.
  - Some whitespace fixes.
  
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.21      +99 -91    src/sys/alpha/include/atomic.h
  1.34      +63 -79    src/sys/amd64/include/atomic.h
  1.38      +72 -83    src/sys/i386/include/atomic.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507091238.j69CcrsC053644>