]> git.ipfire.org Git - thirdparty/linux.git/blame - arch/score/include/asm/switch_to.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/linux.git] / arch / score / include / asm / switch_to.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
4eb14db4
DH
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
4eb14db4 12#endif /* _ASM_SCORE_SWITCH_TO_H */