1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_CURRENT_H
3 #define __ASM_CURRENT_H
5 #include <linux/compiler.h>
6 #include <linux/threads.h>
11 extern struct task_struct *cpu_tasks[NR_CPUS];
13 static __always_inline struct task_struct *get_current(void)
19 #define current get_current()
21 #endif /* __ASSEMBLY__ */
23 #endif /* __ASM_CURRENT_H */