Rev 1398 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1398 | Rev 1702 | ||
---|---|---|---|
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 ppc64 |
|
- | 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 84... | Line 90... | ||
84 | atomic_dec(val); |
90 | atomic_dec(val); |
85 | return val->count; |
91 | return val->count; |
86 | } |
92 | } |
87 | 93 | ||
88 | #endif |
94 | #endif |
- | 95 | ||
- | 96 | /** @} |
|
- | 97 | */ |
|
- | 98 |