efivars: Refactor sanity checking code into separate function
[linux/fpc-iii.git] / arch / score / include / asm / switch_to.h
blob031756b59ecee35c1d08bb95220579eec6fa3a6a
1 #ifndef _ASM_SCORE_SWITCH_TO_H
2 #define _ASM_SCORE_SWITCH_TO_H
4 extern void *resume(void *last, void *next, void *next_ti);
6 #define switch_to(prev, next, last) \
7 do { \
8 (last) = resume(prev, next, task_thread_info(next)); \
9 } while (0)
11 #define finish_arch_switch(prev) do {} while (0)
13 #endif /* _ASM_SCORE_SWITCH_TO_H */