162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __ASM_GENERIC_CURRENT_H
362306a36Sopenharmony_ci#define __ASM_GENERIC_CURRENT_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#ifndef __ASSEMBLY__
662306a36Sopenharmony_ci#include <linux/thread_info.h>
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#define get_current() (current_thread_info()->task)
962306a36Sopenharmony_ci#define current get_current()
1062306a36Sopenharmony_ci#endif
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#endif /* __ASM_GENERIC_CURRENT_H */
13