repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
14 lines
332 B
C
14 lines
332 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __PARISC_SWITCH_TO_H
|
|
#define __PARISC_SWITCH_TO_H
|
|
|
|
struct task_struct;
|
|
|
|
extern struct task_struct *_switch_to(struct task_struct *, struct task_struct *);
|
|
|
|
#define switch_to(prev, next, last) do { \
|
|
(last) = _switch_to(prev, next); \
|
|
} while(0)
|
|
|
|
#endif /* __PARISC_SWITCH_TO_H */
|