Contributors: 6
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
David Mosberger-Tang |
20 |
37.74% |
1 |
16.67% |
Mark Rutland |
20 |
37.74% |
1 |
16.67% |
Paul Gortmaker |
9 |
16.98% |
1 |
16.67% |
Mathieu Desnoyers |
2 |
3.77% |
1 |
16.67% |
Arnd Bergmann |
1 |
1.89% |
1 |
16.67% |
Greg Kroah-Hartman |
1 |
1.89% |
1 |
16.67% |
Total |
53 |
|
6 |
|
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_IA64_CMPXCHG_H
#define _ASM_IA64_CMPXCHG_H
#include <uapi/asm/cmpxchg.h>
#define arch_xchg(ptr, x) \
({(__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)));})
#define arch_cmpxchg(ptr, o, n) cmpxchg_acq((ptr), (o), (n))
#define arch_cmpxchg64(ptr, o, n) cmpxchg_acq((ptr), (o), (n))
#define arch_cmpxchg_local arch_cmpxchg
#define arch_cmpxchg64_local arch_cmpxchg64
#endif /* _ASM_IA64_CMPXCHG_H */