/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_METAG_CMPXCHG_IRQ_H #define __ASM_METAG_CMPXCHG_IRQ_H #include <linux/irqflags.h>
static inline unsigned long xchg_u32(volatile u32 *m, unsigned long val) { unsigned long flags, retval; local_irq_save(flags); retval = *m; *m = val; local_irq_restore(flags); return retval; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 46 | 100.00% | 1 | 100.00% |
Total | 46 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 48 | 100.00% | 1 | 100.00% |
Total | 48 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 58 | 100.00% | 1 | 100.00% |
Total | 58 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
James Hogan | 164 | 99.39% | 1 | 50.00% |
Greg Kroah-Hartman | 1 | 0.61% | 1 | 50.00% |
Total | 165 | 100.00% | 2 | 100.00% |