Home | History | Annotate | Download | only in asm
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef __ASM_SH_SYSTEM_64_H
     13 #define __ASM_SH_SYSTEM_64_H
     14 
     15 #include <asm/processor.h>
     16 
     17 struct task_struct *sh64_switch_to(struct task_struct *prev,
     18  struct thread_struct *prev_thread,
     19  struct task_struct *next,
     20  struct thread_struct *next_thread);
     21 
     22 #define switch_to(prev,next,last)  do {   if (last_task_used_math != next) {   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)
     23 
     24 #define __uses_jump_to_uncached
     25 
     26 #define jump_to_uncached() do { } while (0)
     27 #define back_to_cached() do { } while (0)
     28 
     29 #endif
     30