https://github.com/torvalds/linux
Raw File
Tip revision: a8750ddca918032d6349adbf9a4b6555e7db20da authored by Linus Torvalds on 14 January 2018, 23:32:30 UTC
Linux 4.15-rc8
Tip revision: a8750dd
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