2 * Copyright (C) 2006 Atmark Techno, Inc.
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
9 #ifndef _ASM_MICROBLAZE_SWITCH_TO_H
10 #define _ASM_MICROBLAZE_SWITCH_TO_H
15 extern struct task_struct
*_switch_to(struct thread_info
*prev
,
16 struct thread_info
*next
);
18 #define switch_to(prev, next, last) \
20 (last) = _switch_to(task_thread_info(prev), \
21 task_thread_info(next)); \
24 #endif /* _ASM_MICROBLAZE_SWITCH_TO_H */