~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/sh/include/asm/processor_64.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
#define SR_USER (SR_MMU | SR_FD)
151
151
 
152
152
#define start_thread(_regs, new_pc, new_sp)                     \
153
 
        set_fs(USER_DS);                                        \
154
153
        _regs->sr = SR_USER;    /* User mode. */                \
155
154
        _regs->pc = new_pc - 4; /* Compensate syscall exit */   \
156
155
        _regs->pc |= 1;         /* Set SHmedia ! */             \