irqchip: Fix dependencies for archs w/o HAS_IOMEM
[linux/fpc-iii.git] / arch / alpha / include / asm / switch_to.h
blob44c0d4f2c0b2d474a7c7c96a3e0bd2e709409047
1 #ifndef __ALPHA_SWITCH_TO_H
2 #define __ALPHA_SWITCH_TO_H
5 struct task_struct;
6 extern struct task_struct *alpha_switch_to(unsigned long, struct task_struct *);
8 #define switch_to(P,N,L) \
9 do { \
10 (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \
11 check_mmu_context(); \
12 } while (0)
14 #endif /* __ALPHA_SWITCH_TO_H */