18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __ASM_GENERIC_CURRENT_H
38c2ecf20Sopenharmony_ci#define __ASM_GENERIC_CURRENT_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#include <linux/thread_info.h>
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#define get_current() (current_thread_info()->task)
88c2ecf20Sopenharmony_ci#define current get_current()
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#endif /* __ASM_GENERIC_CURRENT_H */
11