Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
switch_to.h
Go to the documentation of this file.
1 #ifndef _ASM_SCORE_SWITCH_TO_H
2 #define _ASM_SCORE_SWITCH_TO_H
3 
4 extern void *resume(void *last, void *next, void *next_ti);
5 
6 #define switch_to(prev, next, last) \
7 do { \
8  (last) = resume(prev, next, task_thread_info(next)); \
9 } while (0)
10 
11 #define finish_arch_switch(prev) do {} while (0)
12 
13 #endif /* _ASM_SCORE_SWITCH_TO_H */