Subversion Repositories HelenOS-historic

Rev

Rev 1400 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1400 Rev 1656
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
 /** @addtogroup libcppc64 
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
-
 
33
 */
-
 
34
 
29
#ifndef __ppc64_ATOMIC_H__
35
#ifndef __ppc64_ATOMIC_H__
30
#define __ppc64_ATOMIC_H__
36
#define __ppc64_ATOMIC_H__
31
 
37
 
32
static inline void atomic_inc(atomic_t *val)
38
static inline void atomic_inc(atomic_t *val)
33
{
39
{
Line 82... Line 88...
82
    atomic_dec(val);
88
    atomic_dec(val);
83
    return val->count;
89
    return val->count;
84
}
90
}
85
 
91
 
86
#endif
92
#endif
-
 
93
 
-
 
94
 /** @}
-
 
95
 */
-
 
96