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

Go to the source code of this file.

Macros

#define switch_to(prev, next, last)
 

Functions

struct task_structsh64_switch_to (struct task_struct *prev, struct thread_struct *prev_thread, struct task_struct *next, struct thread_struct *next_thread)
 

Macro Definition Documentation

#define switch_to (   prev,
  next,
  last 
)
Value:
do { \
struct pt_regs *regs = next->thread.uregs; \
if (regs) regs->sr |= SR_FD; \
} \
last = sh64_switch_to(prev, &prev->thread, next, \
&next->thread); \
} while (0)

Definition at line 24 of file switch_to_64.h.

Function Documentation

struct task_struct* sh64_switch_to ( struct task_struct prev,
struct thread_struct prev_thread,
struct task_struct next,
struct thread_struct next_thread 
)
read