https://github.com/torvalds/linux
Raw File
Tip revision: e49d033bddf5b565044e2abe4241353959bc9120 authored by Linus Torvalds on 04 April 2021, 21:15:36 UTC
Linux 5.12-rc6
Tip revision: e49d033
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