current.h 267 B

12345678910111213141516
  1. #ifndef _PARISC_CURRENT_H
  2. #define _PARISC_CURRENT_H
  3. #include <linux/thread_info.h>
  4. struct task_struct;
  5. static inline struct task_struct * get_current(void)
  6. {
  7. return current_thread_info()->task;
  8. }
  9. #define current get_current()
  10. #endif /* !(_PARISC_CURRENT_H) */