WIP FPC-III support
[linux/fpc-iii.git] / arch / microblaze / include / asm / switch_to.h
blob5afd6d9977b23dd2f18a97d28bb09b9d7c3564a6
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2006 Atmark Techno, Inc.
4 */
6 #ifndef _ASM_MICROBLAZE_SWITCH_TO_H
7 #define _ASM_MICROBLAZE_SWITCH_TO_H
9 struct task_struct;
10 struct thread_info;
12 extern struct task_struct *_switch_to(struct thread_info *prev,
13 struct thread_info *next);
15 #define switch_to(prev, next, last) \
16 do { \
17 (last) = _switch_to(task_thread_info(prev), \
18 task_thread_info(next)); \
19 } while (0)
21 #endif /* _ASM_MICROBLAZE_SWITCH_TO_H */