https://github.com/torvalds/linux
Raw File
Tip revision: a38fd8748464831584a19438cbb3082b5a2dab15 authored by Linus Torvalds on 06 March 2021, 01:33:41 UTC
Linux 5.12-rc2
Tip revision: a38fd87
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