OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-630-gfa3584a

Gerrit Code Review gerrit@openafs.org
Wed, 12 Jan 2011 19:26:21 -0800 (PST)


The following commit has been merged in the master branch:
commit fa3584a48f646f5384f0950d9a560226ac3a3460
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Mon Jan 10 17:13:15 2011 -0600

    RX: No userspace atomic_ops in Solaris pre-10
    
    The atomic_ops(3C) family of functions do not exist in userspace
    before Solaris 10. So, only use them for rx_atomic operations if
    we're on AFS_SUN510_ENV, or if we're in the kernel.
    
    Also, include <sys/atomic.h> for kernel code and <atomic.h> for
    userspace. Although they are currently equivalent, they are documented
    as separate, and pre-10 lacks <atomic.h>.
    
    Change-Id: Id71857efcd6460f8223302850b548754c19d076f
    Reviewed-on: http://gerrit.openafs.org/3652
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/rx/rx_atomic.h |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository