1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (C) 2006 Atmark Techno, Inc.
6 #ifndef _ASM_MICROBLAZE_SWITCH_TO_H
7 #define _ASM_MICROBLAZE_SWITCH_TO_H
12 extern struct task_struct
*_switch_to(struct thread_info
*prev
,
13 struct thread_info
*next
);
15 #define switch_to(prev, next, last) \
17 (last) = _switch_to(task_thread_info(prev), \
18 task_thread_info(next)); \
21 #endif /* _ASM_MICROBLAZE_SWITCH_TO_H */