xref: /linux/arch/parisc/include/asm/switch_to.h (revision e8d235d4d8fb8957bae5f6ed4521115203a00d8b)
1 #ifndef __PARISC_SWITCH_TO_H
2 #define __PARISC_SWITCH_TO_H
3 
4 struct task_struct;
5 
6 extern struct task_struct *_switch_to(struct task_struct *, struct task_struct *);
7 
8 #define switch_to(prev, next, last) do {			\
9 	(last) = _switch_to(prev, next);			\
10 } while(0)
11 
12 #endif /* __PARISC_SWITCH_TO_H */
13