https://github.com/torvalds/linux
Raw File
Tip revision: bc0195aad0daa2ad5b0d76cce22b167bc3435590 authored by Linus Torvalds on 12 July 2015, 22:10:30 UTC
Linux 4.2-rc2
Tip revision: bc0195a
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