https://github.com/torvalds/linux
Raw File
Tip revision: 5ed02dbb497422bf225783f46e6eadd237d23d6b authored by Linus Torvalds on 29 May 2017, 00:20:53 UTC
Linux 4.12-rc3
Tip revision: 5ed02db
current.h
#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