Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_SCORE_SWITCH_TO_H
3#define _ASM_SCORE_SWITCH_TO_H
4
5extern void *resume(void *last, void *next, void *next_ti);
6
7#define switch_to(prev, next, last) \
8do { \
9 (last) = resume(prev, next, task_thread_info(next)); \
10} while (0)
11
12#endif /* _ASM_SCORE_SWITCH_TO_H */