Release 4.10 arch/x86/include/asm/current.h
#ifndef _ASM_X86_CURRENT_H
#define _ASM_X86_CURRENT_H
#include <linux/compiler.h>
#include <asm/percpu.h>
#ifndef __ASSEMBLY__
struct task_struct;
DECLARE_PER_CPU(struct task_struct *, current_task);
static __always_inline struct task_struct *get_current(void)
{
return this_cpu_read_stable(current_task);
}
#define current get_current()
#endif /* __ASSEMBLY__ */
#endif /* _ASM_X86_CURRENT_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
christoph lameter | christoph lameter | 43 | 79.63% | 1 | 20.00% |
brian gerst | brian gerst | 5 | 9.26% | 1 | 20.00% |
h. peter anvin | h. peter anvin | 3 | 5.56% | 1 | 20.00% |
thomas gleixner | thomas gleixner | 2 | 3.70% | 1 | 20.00% |
alex shi | alex shi | 1 | 1.85% | 1 | 20.00% |
| Total | 54 | 100.00% | 5 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.