forked from Minki/linux
4eb14db444
Disintegrate asm/system.h for Score. Not compiled. Signed-off-by: David Howells <dhowells@redhat.com> cc: Chen Liqin <liqin.chen@sunplusct.com>
14 lines
334 B
C
14 lines
334 B
C
#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 */
|