Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / score / include / asm / switch_to.h
blobce730e60cd431f6a623a8137e22c7e8433bc2fa6
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) \
8 do { \
9 (last) = resume(prev, next, task_thread_info(next)); \
10 } while (0)
12 #endif /* _ASM_SCORE_SWITCH_TO_H */