1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_SCORE_SWITCH_TO_H
3 #define _ASM_SCORE_SWITCH_TO_H
5 extern void *resume(void *last
, void *next
, void *next_ti
);
7 #define switch_to(prev, next, last) \
9 (last) = resume(prev, next, task_thread_info(next)); \
12 #endif /* _ASM_SCORE_SWITCH_TO_H */