Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.16 13 lines 449 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ASM_CRIS_SWITCH_TO_H 3#define __ASM_CRIS_SWITCH_TO_H 4 5/* the switch_to macro calls resume, an asm function in entry.S which does the actual 6 * task switching. 7 */ 8 9extern struct task_struct *resume(struct task_struct *prev, struct task_struct *next, int); 10#define switch_to(prev,next,last) last = resume(prev,next, \ 11 (int)&((struct task_struct *)0)->thread) 12 13#endif /* __ASM_CRIS_SWITCH_TO_H */