History

tools include: Introduce atomic_cmpxchg_{relaxed,release}()

Will be used by refcnt.h

Arnaldo Carvalho de Melo committed 9 years ago

Commit 2bcdead1 parent 8a736151 file · +6 −0Browse files

Showing the changes to tools/include/linux (1 of 1 file). Show all

Unified · Split

tools/include/linux/atomic.h+6−0
@@ -3,4 +3,10 @@ · 2 unmodified lines
3 3
4#include <asm/atomic.h>4#include <asm/atomic.h>
5 5
6/* atomic_cmpxchg_relaxed */
7#ifndef atomic_cmpxchg_relaxed
8#define atomic_cmpxchg_relaxed atomic_cmpxchg
9#define atomic_cmpxchg_release atomic_cmpxchg
10#endif /* atomic_cmpxchg_relaxed */
11
6#endif /* __TOOLS_LINUX_ATOMIC_H */12#endif /* __TOOLS_LINUX_ATOMIC_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t