Release 4.14 arch/x86/include/asm/cmpxchg_64.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_X86_CMPXCHG_64_H
#define _ASM_X86_CMPXCHG_64_H
static inline void set_64bit(volatile u64 *ptr, u64 val)
{
*ptr = val;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
#define cmpxchg64(ptr, o, n) \
({ \
BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
cmpxchg((ptr), (o), (n)); \
})
#define cmpxchg64_local(ptr, o, n) \
({ \
BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
cmpxchg_local((ptr), (o), (n)); \
})
#define system_has_cmpxchg_double() boot_cpu_has(X86_FEATURE_CX16)
#endif /* _ASM_X86_CMPXCHG_64_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jeremy Fitzhardinge | 30 | 50.85% | 2 | 20.00% |
Mathieu Desnoyers | 11 | 18.64% | 1 | 10.00% |
Jeff Dike | 6 | 10.17% | 1 | 10.00% |
Christoph Lameter | 4 | 6.78% | 1 | 10.00% |
H. Peter Anvin | 3 | 5.08% | 1 | 10.00% |
Peter Zijlstra | 2 | 3.39% | 1 | 10.00% |
Borislav Petkov | 1 | 1.69% | 1 | 10.00% |
Joe Perches | 1 | 1.69% | 1 | 10.00% |
Greg Kroah-Hartman | 1 | 1.69% | 1 | 10.00% |
Total | 59 | 100.00% | 10 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.