https://github.com/torvalds/linux
Raw File
Tip revision: cf7d7e5a1980d1116ee152d25dac382b112b9c17 authored by Linus Torvalds on 07 December 2010, 04:09:04 UTC
Linux 2.6.37-rc5
Tip revision: cf7d7e5
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