cregit-Linux how code gets into the kernel

Release 4.14 arch/sh/include/asm/futex-irq.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_FUTEX_IRQ_H

#define __ASM_SH_FUTEX_IRQ_H


static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr, u32 oldval, u32 newval) { unsigned long flags; int ret; u32 prev = 0; local_irq_save(flags); ret = get_user(prev, uaddr); if (!ret && oldval == prev) ret = put_user(newval, uaddr); local_irq_restore(flags); *uval = prev; return ret; }

Contributors

PersonTokensPropCommitsCommitProp
Kaz Kojima6582.28%133.33%
Michel Lespinasse1417.72%266.67%
Total79100.00%3100.00%

#endif /* __ASM_SH_FUTEX_IRQ_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Kaz Kojima7483.15%125.00%
Michel Lespinasse1415.73%250.00%
Greg Kroah-Hartman11.12%125.00%
Total89100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.