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 v5.11 21 lines 478 B view raw
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Task switching definitions for the Hexagon architecture 4 * 5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. 6 */ 7 8#ifndef _ASM_SWITCH_TO_H 9#define _ASM_SWITCH_TO_H 10 11struct thread_struct; 12 13extern struct task_struct *__switch_to(struct task_struct *, 14 struct task_struct *, 15 struct task_struct *); 16 17#define switch_to(p, n, r) do {\ 18 r = __switch_to((p), (n), (r));\ 19} while (0) 20 21#endif /* _ASM_SWITCH_TO_H */