Release 4.11 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 | 43 | 79.63% | 1 | 20.00% |
Brian Gerst | 5 | 9.26% | 1 | 20.00% |
H. Peter Anvin | 3 | 5.56% | 1 | 20.00% |
Thomas Gleixner | 2 | 3.70% | 1 | 20.00% |
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.