| 1 |
|
| 2 | #ifndef __ALPHA_SWITCH_TO_H
|
| 3 | #define __ALPHA_SWITCH_TO_H
|
| 4 |
|
| 5 |
|
| 6 | struct task_struct;
|
| 7 | extern struct task_struct *alpha_switch_to(unsigned long, struct task_struct *);
|
| 8 |
|
| 9 | #define switch_to(P,N,L) \
|
| 10 | do { \
|
| 11 | (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
|
| 12 | } while (0)
|
| 13 |
|
| 14 | #endif
|