cvs commit: src/sys/powerpc/include atomic.h

Marcel Moolenaar marcel at FreeBSD.org
Wed Apr 9 01:00:39 UTC 2008


marcel      2008-04-09 01:00:36 UTC

  FreeBSD src repository

  Modified files:
    sys/powerpc/include  atomic.h 
  Log:
  Reimplement atomic_add, atomic_clear, atomic_set and atomic_subtract
  so that all implemented variants have proper prototypes. The 8-bit,
  16-bit and 64-bit variants are not implemented.
  
  This really fixes the current build breakages caused by type casting
  and struct aliasing rules.
  
  Revision  Changes    Path
  1.21      +294 -272  src/sys/powerpc/include/atomic.h


More information about the cvs-src mailing list