Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v3.12-rc2 12 lines 293 B view raw
1#ifndef __PARISC_SWITCH_TO_H 2#define __PARISC_SWITCH_TO_H 3 4struct task_struct; 5 6extern 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 */