Release 4.17 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 arch_cmpxchg64(ptr, o, n) \
({ \
BUILD_BUG_ON(sizeof(*(ptr)) != 8); \
cmpxchg((ptr), (o), (n)); \
})
#define arch_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 | 18.18% |
Mathieu Desnoyers | 10 | 16.95% | 1 | 9.09% |
Jeff Dike | 6 | 10.17% | 1 | 9.09% |
Christoph Lameter | 4 | 6.78% | 1 | 9.09% |
H. Peter Anvin | 3 | 5.08% | 1 | 9.09% |
Dmitriy Vyukov | 2 | 3.39% | 1 | 9.09% |
Peter Zijlstra | 1 | 1.69% | 1 | 9.09% |
Borislav Petkov | 1 | 1.69% | 1 | 9.09% |
Joe Perches | 1 | 1.69% | 1 | 9.09% |
Greg Kroah-Hartman | 1 | 1.69% | 1 | 9.09% |
Total | 59 | 100.00% | 11 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.