Linux Audio

Check our new training course

Loading...
v4.10.11
 
1#ifndef __ASM_GENERIC_CURRENT_H
2#define __ASM_GENERIC_CURRENT_H
3
 
4#include <linux/thread_info.h>
5
6#define get_current() (current_thread_info()->task)
7#define current get_current()
 
8
9#endif /* __ASM_GENERIC_CURRENT_H */
v6.9.4
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef __ASM_GENERIC_CURRENT_H
 3#define __ASM_GENERIC_CURRENT_H
 4
 5#ifndef __ASSEMBLY__
 6#include <linux/thread_info.h>
 7
 8#define get_current() (current_thread_info()->task)
 9#define current get_current()
10#endif
11
12#endif /* __ASM_GENERIC_CURRENT_H */