aboutsummaryrefslogtreecommitdiffstats
path: root/arch/score/include/asm/switch_to.h
blob: 031756b59ecee35c1d08bb95220579eec6fa3a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _ASM_SCORE_SWITCH_TO_H
#define _ASM_SCORE_SWITCH_TO_H

extern void *resume(void *last, void *next, void *next_ti);

#define switch_to(prev, next, last)				\
do {								\
	(last) = resume(prev, next, task_thread_info(next));	\
} while (0)

#define finish_arch_switch(prev)	do {} while (0)

#endif /* _ASM_SCORE_SWITCH_TO_H */