blob: fda3f83308d20422c8c7d2f7c023b344693e51df [file] [log] [blame]
#ifndef _ASM_SCORE_SWITCH_TO_H
#define _ASM_SCORE_SWITCH_TO_H
extern void *resume(void *last, void *next, void *next_ti);
#define switch_to(prev, next, last) \
do { \
(last) = resume(prev, next, task_thread_info(next)); \
} while (0)
#endif /* _ASM_SCORE_SWITCH_TO_H */