1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Task switching definitions for the Hexagon architecture
5 * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
8 #ifndef _ASM_SWITCH_TO_H
9 #define _ASM_SWITCH_TO_H
13 extern struct task_struct
*__switch_to(struct task_struct
*,
15 struct task_struct
*);
17 #define switch_to(p, n, r) do {\
18 r = __switch_to((p), (n), (r));\
21 #endif /* _ASM_SWITCH_TO_H */