WIP FPC-III support
[linux/fpc-iii.git] / arch / alpha / include / asm / switch_to.h
blob762b7f975310c088472d82a6e60c0b9a0550cbe3
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ALPHA_SWITCH_TO_H
3 #define __ALPHA_SWITCH_TO_H
6 struct task_struct;
7 extern struct task_struct *alpha_switch_to(unsigned long, struct task_struct *);
9 #define switch_to(P,N,L) \
10 do { \
11 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
12 check_mmu_context(); \
13 } while (0)
15 #endif /* __ALPHA_SWITCH_TO_H */