https://github.com/torvalds/linux
Raw File
Tip revision: ba47d845d715a010f7b51f6f89bae32845e6acb7 authored by Linus Torvalds on 19 July 2020, 22:41:18 UTC
Linux 5.8-rc6
Tip revision: ba47d84
current.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_GENERIC_CURRENT_H
#define __ASM_GENERIC_CURRENT_H

#include <linux/thread_info.h>

#define get_current() (current_thread_info()->task)
#define current get_current()

#endif /* __ASM_GENERIC_CURRENT_H */
back to top