Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
David Howells | 527dcdc | 2012-03-28 18:30:02 +0100 | [diff] [blame] | 2 | #ifndef __PARISC_SWITCH_TO_H |
3 | #define __PARISC_SWITCH_TO_H | ||||
4 | |||||
5 | struct task_struct; | ||||
6 | |||||
7 | extern struct task_struct *_switch_to(struct task_struct *, struct task_struct *); | ||||
8 | |||||
9 | #define switch_to(prev, next, last) do { \ | ||||
10 | (last) = _switch_to(prev, next); \ | ||||
11 | } while(0) | ||||
12 | |||||
13 | #endif /* __PARISC_SWITCH_TO_H */ |