switch_to.h 332 B

12345678910111213
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __PARISC_SWITCH_TO_H
  3. #define __PARISC_SWITCH_TO_H
  4. struct task_struct;
  5. extern struct task_struct *_switch_to(struct task_struct *, struct task_struct *);
  6. #define switch_to(prev, next, last) do { \
  7. (last) = _switch_to(prev, next); \
  8. } while(0)
  9. #endif /* __PARISC_SWITCH_TO_H */