]> Git Repo - J-linux.git/blob - arch/microblaze/include/asm/switch_to.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / arch / microblaze / include / asm / switch_to.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2006 Atmark Techno, Inc.
4  */
5
6 #ifndef _ASM_MICROBLAZE_SWITCH_TO_H
7 #define _ASM_MICROBLAZE_SWITCH_TO_H
8
9 struct task_struct;
10 struct thread_info;
11
12 extern struct task_struct *_switch_to(struct thread_info *prev,
13                                         struct thread_info *next);
14
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)
20
21 #endif /* _ASM_MICROBLAZE_SWITCH_TO_H */
This page took 0.02727 seconds and 4 git commands to generate.