https://github.com/torvalds/linux
Revision cd07202cc8262e1669edff0d97715f3dd9260917 authored by Linus Torvalds on 14 October 2010, 23:26:43 UTC, committed by Linus Torvalds on 14 October 2010, 23:26:43 UTC
1 parent 3aa0ce8
Raw File
Tip revision: cd07202cc8262e1669edff0d97715f3dd9260917 authored by Linus Torvalds on 14 October 2010, 23:26:43 UTC
Linux 2.6.36-rc8
Tip revision: cd07202
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