David Howells | 527dcdc | 2012-03-28 18:30:02 +0100 | [diff] [blame] | 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 */ |