https://github.com/torvalds/linux
Raw File
Tip revision: cac7f2429872d3733dc3f9915857b1691da2eb2f authored by Linus Torvalds on 26 October 2014, 23:48:41 UTC
Linux 3.18-rc2
Tip revision: cac7f24
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