atomic.h (f24219b4e90cf70ec4a211b17fbabc725a0ddf3c) atomic.h (7847777a45f9f8bfc8617dbf107bde1ecb59caee)
1#ifndef _ALPHA_ATOMIC_H
2#define _ALPHA_ATOMIC_H
3
4#include <linux/types.h>
5#include <asm/barrier.h>
6#include <asm/system.h>
7
8/*

--- 241 unchanged lines hidden (view full) ---

250#define atomic_dec(v) atomic_sub(1,(v))
251#define atomic64_dec(v) atomic64_sub(1,(v))
252
253#define smp_mb__before_atomic_dec() smp_mb()
254#define smp_mb__after_atomic_dec() smp_mb()
255#define smp_mb__before_atomic_inc() smp_mb()
256#define smp_mb__after_atomic_inc() smp_mb()
257
1#ifndef _ALPHA_ATOMIC_H
2#define _ALPHA_ATOMIC_H
3
4#include <linux/types.h>
5#include <asm/barrier.h>
6#include <asm/system.h>
7
8/*

--- 241 unchanged lines hidden (view full) ---

250#define atomic_dec(v) atomic_sub(1,(v))
251#define atomic64_dec(v) atomic64_sub(1,(v))
252
253#define smp_mb__before_atomic_dec() smp_mb()
254#define smp_mb__after_atomic_dec() smp_mb()
255#define smp_mb__before_atomic_inc() smp_mb()
256#define smp_mb__after_atomic_inc() smp_mb()
257
258#include <asm-generic/atomic-long.h>
259#endif /* _ALPHA_ATOMIC_H */
258#endif /* _ALPHA_ATOMIC_H */