Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
switch_to.h File Reference

Go to the source code of this file.

Macros

#define switch_to(prev, next, last)
 

Functions

struct task_struct__switch_to (struct task_struct *, struct cpu_context *, struct cpu_context *)
 

Macro Definition Documentation

#define switch_to (   prev,
  next,
  last 
)
Value:
do { \
last = __switch_to(prev, &prev->thread.cpu_context + 1, \
&next->thread.cpu_context); \
} while (0)

Definition at line 39 of file switch_to.h.

Function Documentation

struct task_struct* __switch_to ( struct task_struct ,
struct cpu_context ,
struct cpu_context  
)
read