https://github.com/torvalds/linux
Raw File
Tip revision: 08895a8b6b06ed2323cd97a36ee40a116b3db8ed authored by Linus Torvalds on 26 September 2016, 01:47:13 UTC
Linux 4.8-rc8
Tip revision: 08895a8
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