tick/idle/powerpc: Do not register idle states with CPUIDLE_FLAG_TIMER_STOP set in...
[linux/fpc-iii.git] / arch / microblaze / include / asm / switch_to.h
blobf45baa2c5e09930952564c4ec5c5cba84acbe693
1 /*
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
6 * for more details.
7 */
9 #ifndef _ASM_MICROBLAZE_SWITCH_TO_H
10 #define _ASM_MICROBLAZE_SWITCH_TO_H
12 struct task_struct;
13 struct thread_info;
15 extern struct task_struct *_switch_to(struct thread_info *prev,
16 struct thread_info *next);
18 #define switch_to(prev, next, last) \
19 do { \
20 (last) = _switch_to(task_thread_info(prev), \
21 task_thread_info(next)); \
22 } while (0)
24 #endif /* _ASM_MICROBLAZE_SWITCH_TO_H */