current.h 217 B

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