switch_to.h 334 B

12345678910111213
  1. #ifndef _ASM_SCORE_SWITCH_TO_H
  2. #define _ASM_SCORE_SWITCH_TO_H
  3. extern void *resume(void *last, void *next, void *next_ti);
  4. #define switch_to(prev, next, last) \
  5. do { \
  6. (last) = resume(prev, next, task_thread_info(next)); \
  7. } while (0)
  8. #define finish_arch_switch(prev) do {} while (0)
  9. #endif /* _ASM_SCORE_SWITCH_TO_H */