Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
cris
include
asm
switch_to.h
Go to the documentation of this file.
1
#ifndef __ASM_CRIS_SWITCH_TO_H
2
#define __ASM_CRIS_SWITCH_TO_H
3
4
/* the switch_to macro calls resume, an asm function in entry.S which does the actual
5
* task switching.
6
*/
7
8
extern
struct
task_struct
*
resume
(
struct
task_struct
*
prev
,
struct
task_struct
*
next
,
int
);
9
#define switch_to(prev,next,last) last = resume(prev,next, \
10
(int)&((struct task_struct *)0)->thread)
11
12
#endif
/* __ASM_CRIS_SWITCH_TO_H */
Generated on Thu Jan 10 2013 12:50:37 for Linux Kernel by
1.8.2