Rev 2082 | Rev 2129 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2082 | Rev 2089 | ||
|---|---|---|---|
| Line 35... | Line 35... | ||
| 35 | #ifndef KERN_sparc64_ATOMIC_H_ |
35 | #ifndef KERN_sparc64_ATOMIC_H_ |
| 36 | #define KERN_sparc64_ATOMIC_H_ |
36 | #define KERN_sparc64_ATOMIC_H_ |
| 37 | 37 | ||
| 38 | #include <arch/barrier.h> |
38 | #include <arch/barrier.h> |
| 39 | #include <arch/types.h> |
39 | #include <arch/types.h> |
| 40 | #include <typedefs.h> |
- | |
| 41 | 40 | ||
| 42 | /** Atomic add operation. |
41 | /** Atomic add operation. |
| 43 | * |
42 | * |
| 44 | * Use atomic compare and swap operation to atomically add signed value. |
43 | * Use atomic compare and swap operation to atomically add signed value. |
| 45 | * |
44 | * |