switch_to.h 293 B

123456789101112
  1. #ifndef __PARISC_SWITCH_TO_H
  2. #define __PARISC_SWITCH_TO_H
  3. struct task_struct;
  4. extern struct task_struct *_switch_to(struct task_struct *, struct task_struct *);
  5. #define switch_to(prev, next, last) do { \
  6. (last) = _switch_to(prev, next); \
  7. } while(0)
  8. #endif /* __PARISC_SWITCH_TO_H */