https://github.com/torvalds/linux
Raw File
Tip revision: c16fa4f2ad19908a47c63d8fa436a1178438c7e7 authored by Linus Torvalds on 18 March 2012, 23:15:34 UTC
Linux 3.3
Tip revision: c16fa4f
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