1 #ifndef __ASM_GENERIC_CURRENT_H 2 #define __ASM_GENERIC_CURRENT_H 3 4 #include <linux/thread_info.h> 5 6 #define get_current() (current_thread_info()->task) 7 #define current get_current() 8 9 #endif /* __ASM_GENERIC_CURRENT_H */ 10
1 #ifndef __ASM_GENERIC_CURRENT_H 2 #define __ASM_GENERIC_CURRENT_H 3 4 #include <linux/thread_info.h> 5 6 #define get_current() (current_thread_info()->task) 7 #define current get_current() 8 9 #endif /* __ASM_GENERIC_CURRENT_H */ 10